Computer Science Canada

I need Help

Author:  Lebron23 [ Sat Jan 09, 2010 2:56 pm ]
Post subject:  I need Help

Write a program that lets you enter a number n and that calculates the nth Fibonacci number: 1,1,2,3,5,8,... Each new number is the sum of the last two.

Please help me with this on Ready to program Java

Thanks Smile

Author:  andrew. [ Sat Jan 09, 2010 3:20 pm ]
Post subject:  RE:I need Help

1. This should be in the Java Help forum.
2. Ask yourself what the fibonacci sequence is and how to get it. Then, devise a way to achieve the same results programming. Hint: you can use loops, or recursion.


: