Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~154 People Reached
Favorite Forums
Favorite Tags
java x 1
Member Avatar for stressed studen

I was told to use a while loop and call the nextNumber method until the input matches the corresponding fibonacci number, i.e. an input of 4 would give fib(4)=3. I'm getting fib(4)=1. Here is my code: [CODE] /** Class used to generate a Fibonacci number with a given input */ …

Member Avatar for stultuske
0
154