Suppose you have a certain amount of money in a savings account that earns monthly interest, and you want to calculate the amount that you will have after a specific number of months. The formula is: F=P x (1 + i)t F: future value of the account after the specified time period P: present value of the account i: monthly interest rate t: the number of months Write a program (by using two methods) that prompts you 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 three values to a sub-method. Finally, the program should display the account’s future value. Different methods using java programming

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter6: Looping
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question
Suppose you have a certain amount of money in a savings account that earns monthly interest, and you want to calculate the amount that you will have after a specific number of months. The formula is: F=P x (1 + i)t F: future value of the account after the specified time period P: present value of the account i: monthly interest rate t: the number of months Write a program (by using two methods) that prompts you 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 three values to a sub-method. Finally, the program should display the account’s future value. Different methods using java programming
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,