@ Koan @ Vex public void provideTheStartingProblemForCalculatingAFibonacciNumberUsingALoop ( ) { int seventhFibonacciNumber = 0 ; /* (@_@) */ int previous1 = 1 ; int previous2 = 1 ; int currentFibonacci = 1 ; for ( int i = 3 ; i <= 7 ; i ++ ) { } seventhFibonacciNumber = currentFibonacci ; /* (^_^) */ assertThat ( seventhFibonacciNumber , is ( 13 ) ) ; }
In this exercise students will learn how to use