Interest Earned
Assuming there are no deposits other than the original investment, the balance in a savingsaccount after one year may be calculated as
• where Principal is the balance in the account
• Rate is the annual interest rate,
• T is the number of times the interest is compounded during a year (e.g., T is 4 if the interest is compounded quarterly).
Write a program that asks for the principal, the interest rate, and the number of times the interest is compounded. It should display a report similar to the following:
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.