Reordered jump cases

This commit is contained in:
Eduard Urbach 2024-07-11 11:53:49 +02:00
parent 3b2cbbe3b7
commit dbe0a67dc5
Signed by: eduard
GPG key ID: 49226B848C78F6C8
2 changed files with 6 additions and 7 deletions

View file

@ -3,7 +3,7 @@ main() {
}
fibonacci(x) {
if x == 1 || x == 0 {
if x <= 1 {
return x
}