Start New Discussion within our Software Development Community

How to print this series using loop
1,1,2,3,5,8,11,19,30,49...........

Its the fibonacci series. You will find a lot of information about it on the web. Try reading some stuff and start coding. If you are stuck somewhere we will help you.

What is the formula or equation to generate the numbers in that series?
When you get that, we can help you write java code to output those numbers.

How to print this series using loop
1,1,2,3,5,8,11,19,30,49...........

Do you want to calculate the series and print it up to the nth number or have you got a set array that you want to print?

Given: 1,1,2,3,5,8,11,19,30,49........
Fibonacii:1,1,2,3,5,8,13,21,...

haha..good catch NormR1

This article has been dead for over six months. Start a new discussion instead.