(1) Run the program. Use a value bigger than 10 in the main loop.

(2) Surely you can make an attempt at these changes.

Please enclose posted code in code tags -- just like it says in the little box you reply in.

I used a double for my program to find out the biggest fibonacci number. I could stop the program when the sequence reached INF but I dont know how to print the value just before INF. Can anyone please answer?