Searched refs:fibonacci (Results 1 – 6 of 6) sorted by relevance
37 static int fibonacci(int n) { in fibonacci() method in Main41 return fibonacci(n - 1) + (fibonacci(n - 2)); in fibonacci()49 int y = fibonacci(x); in main()51 y = fibonacci(x + 1); in main()
1 fibonacci(10)=552 fibonacci(11)=89
1 Computes fibonacci.
21 fibonacci(30)=83204030 ..=> static int art.Test988.fibonacci(int)31 ...=> static int art.Test988.fibonacci(int)32 ....=> static int art.Test988.fibonacci(int)33 .....=> static int art.Test988.fibonacci(int)34 ......=> static int art.Test988.fibonacci(int)35 ......<= static int art.Test988.fibonacci(int) -> <class java.lang.Integer: 1>36 ......=> static int art.Test988.fibonacci(int)37 ......<= static int art.Test988.fibonacci(int) -> <class java.lang.Integer: 0>38 .....<= static int art.Test988.fibonacci(int) -> <class java.lang.Integer: 1>[all …]
19 fibonacci PASSED
252 return fibonacci(x);255 static int fibonacci(int n) {261 return fibonacci(n - 1) + (fibonacci(n - 2));