Question: Write a program which will ask a user for a starting balance and annual interest rate for a savings accounts. The program will then provide

Write a program which will ask a user for a starting balance and annual interest rate for a savings accounts. The program will then provide the user a list of options to calculate the yearly, quarterly, monthly or daily interest rate. Depending on their selection, the program will then ask how projected balances would they like to see with interest included. For example, if they user selected monthly, and then enter 5 for projected balance, it would should them the balance for the next 5 months.
Ask user for starting balance($).
Ask user for the annual interest rate(%).
o Hint: you will need to convert percentage to decimal before calculations.
Show menu options for user to choose how they would like to calculate interest projections with the following choices:
o 1. Yearly
o 2. Quarterly
o 3. Monthly
o 4. Daily
Convert the interest rate according to the users selection.
o For example, if monthly is selected then the annual interest rate would need to be divided by 12 months.
Use a loop to calculate and print the new balance for the number of projections entered by the user.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!