Feb-28-2019, 07:46 PM
(Feb-28-2019, 07:32 PM)ichabod801 Wrote: That's because 5 is a fibonacci number. You want the < on line 7 to be a <=, so that coming out of that loop the current fib number is guaranteed to be larger than the number provided.
Thank you for your help and let me understand! I just began programming so it's still difficult for me.