Challenge! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Challenge!

Print 1 to 100 Fibonacci numbers in c++ or c#

7th Nov 2017, 5:13 PM
[No Name]
1 Answer
+ 2
https://code.sololearn.com/cYZA5eaPMdW4/#cpp The last number this code prints is 89 because the next number in the sequence is higher than 100. Hope this is what you are looking for. If you need the program to print the first 100 fibonacci numbers, tell me and I'll change the code :)
7th Nov 2017, 6:45 PM
Maya
Maya - avatar