We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ddf8b commit 153b9feCopy full SHA for 153b9fe
Others/FibToN.java
@@ -9,7 +9,7 @@ public static void main(String[] args) {
9
// print fibonacci sequence less than N
10
int first = 0, second = 1;
11
//first fibo and second fibonacci are 0 and 1 respectively
12
-
+ scn.close();
13
while(first <= N){
14
//print first fibo 0 then add second fibo into it while updating second as well
15
0 commit comments