Exercise - 01/23/2017
1. Simple Interest Calculator
Read in values of principal, number of years and rate of interest and calculate the simple interest using the fomula Interest = (Principal * NumYears * Rate) / 100. Then add the interest to the principal to calculate the total amount owed.
Sample Output:
Enter the Principal Amount: 4000
Enter the Number of Years: 3
Enter the Rate of Interest: 6.5
The interest is 780
The total amount owed is 4780