Print this taking input as 4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Print this taking input as 4

0 1 1 2 3 5 8 13 21 34

27th Jun 2018, 8:50 PM
chandan kumar
chandan kumar - avatar
2 Answers
27th Jun 2018, 9:14 PM
LONGTIE👔
LONGTIE👔 - avatar
+ 1
to print that you need to write: System.out.println ("0"); System.out.println ("1 1"); System.out.println ("2 3 5"); System.out.println ("8 13 21 34"); OUTPUT: 0 1 1 2 3 5 8 13 21 34 (END)
27th Jun 2018, 8:59 PM
Afsc19
Afsc19 - avatar