A good answer might be:The completed program is given below. | |
Not a Counting LoopHere is the complete program.
It is not a counting loop, because the loop is being controlled by the result of a calculation. Only when the result reaches a goal is the loop finished. The variable year is a counter, but it is not controlling the loop. | |
QUESTION 3:How many years does it take to reach a million dollars? (Guess, or copy the program into Notepad, save it to a file, and run it.) Click Here after you have answered the question |