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, 21.06.2019 17:10
Write an application that allows a user to enter the names and birthdates of up to 10 friends. continue to prompt the user for names and birthdates until the user enters the sentinel value “zzz” for a name or has entered 10 names, whichever comes first. when the user is finished entering names, produce a count of how many names were entered, and then display the names. in a loop, continuously ask the user to type one of the names and display the corresponding birthdate or an error message if the name has not been previously entered. the loop continues until the user enters “zzz” for a name. save the application as birthdayreminder.java.
Answers: 1
question
Computers and Technology, 22.06.2019 14:40
You are working with a professional edition organization. they wish to install the expense tracker which requires the use of 4 custom tabs, 3 custom objects, and one custom app. if the company is already using 4 applications, 36 custom objects, and 7 custom tabs, what will happen when they try to install expense tracker?
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
What is a distinguishing feature of today’s graphic application software?) graphic applications are used today on a variety of devices, including touch-screen kiosks and mobile phones.
Answers: 3
You know the right answer?
Suppose you have a certain amount of money in a savings account that earns compound monthly interest...
Questions
question
Spanish, 26.09.2021 01:30
question
Mathematics, 26.09.2021 01:30
question
Chemistry, 26.09.2021 01:30
question
Mathematics, 26.09.2021 01:30
question
Mathematics, 26.09.2021 01:30
question
Mathematics, 26.09.2021 01:30