Question: C++ only. Visual Studio 2019. Write a program that will calculate the amount of money in a bank account at four different periods of time

C++ only.
Visual Studio 2019.
C++ only.Visual Studio 2019. Write a program that will calculate the amount

Write a program that will calculate the amount of money in a bank account at four different periods of time given a starting amount of money and an interest rate that is entered by the user. Your program should: o Prompt the user to enter the Principal (P) that is used to start the account. Read this value from the user. o Prompt the user to enter the annual interest rate (r) that is used to start the account. Read this value from the user. o Prompt the user to enter a time, 11, to start calculating the amount. Then adjust 12, 13, and 14, by adding 5 years to the previous value. So, if t1 = 2, then 12 -7,13 = 12, and 14 - 17. o Use the formula below to calculate the amount of money, A, in the account after the four periods of time (t1, 12, 13, 14) given the Principal (P) and annual interest rate (s) supplied by the user. A = Pert o Print the results in a table with two columns (Time and Amount) with a label at the top of each column. Time should be given in years(with no decimal places) and Amount should be in Dollars($) with 2 decimal places. Test your program with: P - $2000 5% (Note: in the formula, 5% will be converted to 0.05. For the program, read in 5 from the user, and convert the number to 0.05 by applying an appropriate factor.) t] = 5 T

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!