uppose you have a certain amount of money in a savings account that earns compound monthly interest, and you want to calculate the amount that you will have after a specific number of months. The formula, which is known as the future value formula, is: F=P×(1+i)t The terms in the formula are as follows: o F is the future value of the account after the specified time period. o P is the present value of the account. o i is the monthly interest rate. o t is the number of months. Write a program that prompts the user to enter the account’s present value, monthly interest rate, and the number of months that the money will be left in the account. The program should pass these values to a function named futureValue that returns the future value of the account, after the specified number of months. The program should display the account’s future value. i attached the screenshot of the output so the output should look like that. the coding should be in c++

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 20PE: When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making...
icon
Related questions
Question

uppose you have a certain amount of money in a savings account that earns compound
monthly interest, and you want to calculate the amount that you will have after a specific
number of months. The formula, which is known as the future value formula, is:
F=P×(1+i)t
The terms in the formula are as follows:
o F is the future value of the account after the specified time period.
o P is the present value of the account.
o i is the monthly interest rate.
o t is the number of months.
Write a program that prompts the user to enter the account’s present value, monthly
interest rate, and the number of months that the money will be left in the account. The
program should pass these values to a function named futureValue that returns the
future value of the account, after the specified number of months. The program should
display the account’s future value.

i attached the screenshot of the output so the output should look like that. 

the coding should be in c++

 
Expert Solution
Step 1

According to the information given:-

We have to follow the instruction to get desired outcome.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr