Skip to content

Commit

Permalink
Alterado para aplicação do teste.
Browse files Browse the repository at this point in the history
  • Loading branch information
darlanads committed Jul 6, 2017
1 parent 13aa894 commit 6288f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/br/com/smtsystems/exercicio4/model/Fibonacci.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
public class Fibonacci {

public static int fibonacci(int n) {
return (n < 2) ? n : fibonacci(n - 1) + fibonacci(n - 2);
return fibonacci(n - 1) + fibonacci(n - 2);
}
}

0 comments on commit 6288f0a

Please sign in to comment.