Creating a simple investment calculator) Write a program thatcalculates the future value of an investment at a given interest ratefor the specified number of years. The formula for the calculationis as follows:
futureValue = investmentAmount * (1 + monthlyInterestRate)years*12
Use text fields for interest rate, investment amount, and years.Display the future amount in a text field when the user clicks theCalculate button, shown below.HINT: Note that the form asks the user to enter the Annual InterestRate. The monthly interest rate is 1/12 of that. Also, remember todivide by 100, since it is a percentage.
Reviews
There are no reviews yet.