Format code
This commit is contained in:
parent
790b07679c
commit
c9a7300269
1 changed files with 22 additions and 21 deletions
|
@ -1,6 +1,6 @@
|
||||||
// Fibonacci number generator in Java using recursion
|
// Fibonacci number generator in Java using recursion
|
||||||
public class Fibo
|
public class Fibo {
|
||||||
{
|
|
||||||
static final int COUNT = 40;
|
static final int COUNT = 40;
|
||||||
|
|
||||||
private static long fibo(int i) {
|
private static long fibo(int i) {
|
||||||
|
@ -18,4 +18,5 @@
|
||||||
long after = System.currentTimeMillis();
|
long after = System.currentTimeMillis();
|
||||||
System.out.println("Laskenta kesti: " + (after - before) + " ms");
|
System.out.println("Laskenta kesti: " + (after - before) + " ms");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue