Print this taking input as 4 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponses
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