Cody

Solution 1624616

Submitted on 9 Sep 2018 by Jens Kjærgaard Boldsen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(isequal(newFibo(1),1))

x = 1 y = 1

2   Pass
assert(isequal(newFibo(2),1))

x = 1 y = 1

3   Pass
assert(isequal(newFibo(3),1))

x = 2 y = 1

4   Pass
assert(isequal(newFibo(4),2))

x = 3 y = 2

5   Pass
assert(isequal(newFibo(5),5))

x = 5 y = 5

6   Pass
assert(isequal(newFibo(6),21))

x = 8 y = 21

7   Pass
assert(isequal(newFibo(8),10946))

x = 21 y = 10946

8   Pass
assert(isequal(newFibo(9),5702887))

x = 34 y = 5702887

Suggested Problems

More from this Author45