Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 1 Lnai 9284

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Carlos Soares ,Joao Gama ,Alipio Jorge

1st Edition

3319235273, 978-3319235271

More Books

Students also viewed these Databases questions

Question

What is Ramayana, who is its creator, why was Ramayana written?

Answered: 1 week ago

Question

To solve by the graphical methods 2x +3y = 9 9x - 8y = 10

Answered: 1 week ago