3.1 Write a Java program that will compute the future investment value at a given interest rate for a specified number of years. The java program should have a minimum of two classes.
3.1.1 classA
- The main method (starting point) (5)
- The object of classb (5)
- Should also call the void method named futureInvestmentValue (double investment Amount, double monthlyInterestRate, int years) (15)
3.1.2 classB
- A get method named count_words(String str) (15)
Expected Output:
Input the investment amount: 28000
Input the rate of interest: 7
Input number of years: 6
Years Future Value
1 30024.12
2 32194.57
3 34521.92
4 37017.51
5 39693.51
6 42562.95
TOTAL: 100
Do you need help with this assignment or any other? We got you! Place your order and leave the rest to our experts.