Computer Science, asked by Bhaskar5210, 11 months ago

Print serese 1,1,2,3,5 in java. right one will be marked as Braintlist​

Answers

Answered by GeN21
1

Explanation:

class Fibonacci

{

public static void main( )

{

int f=0,s=0,t=1;

while(t<=5)

{

Sop(t+" ");

f=s;

s=t;

t=f+s;

}

}

}

Similar questions