|
The skeleton program does not have code for the parts that say "// compute the accountValue after 40." How do you expect that this will be done? A good answer might be:The previous program used a loop that iterated 40 times to calculate that. | ||
Pasting in the Dollars CalculationHere is the part from the previous program (slightly modified) that calculated the number of dollars after 40 years:
Here is the skeleton program again:
To complete the program you will have to nest one loop inside the other. | ||
QUESTION 9:Mentally copy and paste sections of code so that the program is complete. Click Here after you have answered the question |