Question: Write a java program that reads investment amount and annual interest rate both in double format type, and displays the future investment value also in
Write a java program that reads investment amount and annual interest rate both in double format type, and displays the future investment value also in double format type, by calling on the following method: double investmentValue(double investmentAmount, double annualInterestRate){...} and using the following formula: investmentValue = investmentAmoun t* (1 +annualInterestRate/100)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
