Reordered jump cases
This commit is contained in:
parent
e24d9ebb50
commit
c2401bf826
2 changed files with 6 additions and 7 deletions
|
@ -3,7 +3,7 @@ main() {
|
|||
}
|
||||
|
||||
fibonacci(x) {
|
||||
if x == 1 || x == 0 {
|
||||
if x <= 1 {
|
||||
return x
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue