Question: Programming Exercise 5.5 My Savings Plan, v.2.0 Purpose. Practice writing programs that use console keyboard input. Requirements. Modify Exercise 4.3's my SavingsPlani.cpp, replacing programmer-defined inputs
Programming Exercise 5.5 My Savings Plan, v.2.0 Purpose. Practice writing programs that use console keyboard input. Requirements. Modify Exercise 4.3's my SavingsPlani.cpp, replacing programmer-defined inputs with console inputs. Name the new program mySavingsplan2.cpp. Here are the program specifications: 1. Prompt the user to enter as a whole number, the number of years until retirement 2. Prompt the user to enter the expected annual interest rate percentage as a floating point value. 3. Prompt the user for the whole number amount to be deposited in bank savings per month 4. Calculate the total amount in the bank at retirement 5. Echo the input values without formatting, and output the calculated amount to the nearest cent. Program I/O. Input: three numbers from the console keyboard. Output: echo the input and print the result of the calculation to the console screen. Example. For example, with user input in blue: In 10 years at 7.5%, $100 deposited per month will grow to $17793.03
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
