public class bon{
public static int n=5;
public static void Fibbo( a, b, n){
if (n==0){
return;
}
int j=a+b;
system.out.println(j);
Fibbo( b, j, (n-1));
}
public static void main(string args[]){
int a=0;
int b=1;
system.out.println(a);
system.out.println(b);
Fibbo( a, b, (n-2));
}
}
0 Comments