mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-01-28 03:37:44 +08:00
Closing scanners.
This commit is contained in:
@@ -22,6 +22,7 @@ public class Fibonacci {
|
||||
System.out.println(fibMemo(n));
|
||||
System.out.println(fibBotUp(n));
|
||||
System.out.println(fibOptimized(n));
|
||||
sc.close();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user