Question: This code is gir c++ Compounding interest Wite a program that read the starting balance, interest rate and number of months from a file. Example:
Compounding interest Wite a program that read the starting balance, interest rate and number of months from a file. Example: 1200.43.0860 (Balance of $1200.43,8 percont interest rate, 60 months) your program will print out a table showing month number and current belance (astume it is comoounded monthy) for the number of specifed montha. Your program ahould prompt the user for the name of the oulput fie. Use the formating function you created previousy to format the anount. Example: 01,200.4311,206.4421,216.54 ne. Formule to use to calculate the monthly balance. nowbalancev(t+percent12) oldBalance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
