Answers

2015-06-09T12:48:43+05:30
Int i,s=0,a=1,b=1,n;
System.out.println("Enter n");
System.out.println(a + "," + b);
n= Interger.parseInt(br.readLine());
for(i=0;i<=n;i++)
{
s = a +b;
a=b;
b=s;
System.out.println("," + s);
}
0