subject

Suppose 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 is as follows:

f = p * (1 + i)^t

• f is the future value of the account after the specified time period.
• p is the present value of the account.
• i is the monthly interest rate.
• t is the number of months.

write a program that takes the account's present value, monthly interest rate, and the number of months that the money will be left in the account as three inputs from the user. the program should pass these values to a function thatreturns the future value of the account, after the specified number of months. the program should print the account's future value.

sample run

enter current bank balance: 35.7↵
enter interest rate: 0↵
enter the amount of time that passes: 100↵ 35.7

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
The best definition of an idiom is a. a word or phrase that describes a noun b. a word or phrase describing a verb c. a phrase containing figurative language in which the word expresses a different idea from its exact meaning d. a phrase that compares two unlike objects or ideas
Answers: 2
question
Computers and Technology, 24.06.2019 12:00
Match the function to its purpose. fast worth 50pts.
Answers: 1
You know the right answer?
Suppose you have a certain amount of money in a savings account that earns compound monthly interest...
Questions
question
Mathematics, 24.03.2021 22:40
question
Mathematics, 24.03.2021 22:40
question
Mathematics, 24.03.2021 22:40
question
Mathematics, 24.03.2021 22:40
question
Mathematics, 24.03.2021 22:40
Questions on the website: 13722367