Create a program that calculates twelve months’ interest and principal loan balance. Your program will ask the user for the starting principal balance, annual interest rate, and monthly payment amount.
Your program will verify the input is reasonable, as described in the Error Checking section below. After obtaining reasonable input, the program will process 12 months of payments. The output will show the accrued interest and the updated loan balance after each month’s payment. The total interest paid and total payment amounts for the 12 month period will also be calculated and displayed.
Your program output should resemble the output below.
/* Class: ELEC 1520
* Program author:
* Tested on
* C++ Environment:
* Operating system:
* Description: A program that calculates twelve month¿s interest and principle loan balance.