Question: This program will calculate the interest rate earned on a savings account over a 6 month period. The program will ask the user for the
This program will calculate the interest rate earned on a savings account over a month period.
The program will ask the user for the annual interest rate, and the beginning balance.
A loop should iterate once every month, asking for:
The amounts are deposited into the account each month.
input validation: Don't accept negative numbers
The amount is withdrawn from the account each month.
input validation: Don't accept negative numbers
The monthly interest rate is calculated by the annual interest rate divided by
Multiply the monthly interest rate by the balance, and add the result to the balance.
Af the end, the program should display the final balance, the total amount of deposits and withdrawals, and the total interest rate. in c
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
