Hello all, I need some slight assistance on understanding why and how my program is one answer short of the right one I need. I know that may not make much sense so I'll just show you what I am talking about.
I have a program that needs to calculate the amount of green crud that has grown over 88 days, Using the Fibonacci Sequence. I have to write these in WHILE, FOR, and DO-WHILE.
IN the for loop it updates within the parameters. line 15. and in the while loop its on line 20. I don't understand why I have the same information within each program, and yet I get different outputs.