NOTE: must be C++ in Microsoft Visual Studio
NOTE: only include screenshots of code in MSVS
Compute and output compound interest on $1000.00 for 10 years at interest rates of 5%, 6%, 7%, 8%, 9% and 10%
This is an exercise in creating nested loops. You must have an inner loop that calculates compound interest via
For 1 to 10
amt = rate*amt + amt;
You should have an outer loop that iterates the rate from 0.05 to 1.0.
Interest on $1000.00 over 10 years
rate total
0.05 $1628.89
0.06 $1790.85
0.07 $1967.15
0.08 $2158.92
0.09 $2367.36
0.1 $2593.74
Press any key to continue . . .