Question: Write a program that calculates the future value of an investment at a given interest rate for a specified number of years. The formula for
Write a program that calculates the future value of an investment at a given interest rate for a specified number of years. The formula for the calculation is
futureValue = investmentAmount * (1 + monthlyInterestRate)years*12
Use text fields for the investment amount, number of years, and annual interest rate. Display the future amount in a text field when the user clicks the Calculate button, as shown in Figure 15.27b.

e 00 Exercise15 05 Investment Amount 10000 Number of Years: Annual Interest Rate: 3.25 Future value: $11386.28 Calculate (b)
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
import javafxapplicationApplication import javafxgeometryPos import javafxgeometryHPos import javafxsceneScene import javafxscenecontrolButton import javafxscenecontrolLabel import javafxscenecontrolT... View full answer
Get step-by-step solutions from verified subject matter experts
