[SOLVED] Solution Creating a simple investment calculator

20.00 $

Programming resource
Digital learning resource
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (4 votes)

Creating a simple investment calculator) Write a program that
calculates the future value of an investment at a given interest rate
for the specified number of years. The formula for the calculation
is 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 the
Calculate button, shown below.
HINT: Note that the form asks the user to enter the Annual Interest
Rate. The monthly interest rate is 1/12 of that. Also, remember to
divide by 100, since it is a percentage.

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.