Reference no: EM132159018
Use a twodismensional array
Futue Vale Calculations
Inv/Mo. Rate year's future value
$100.00 8,0% 10 $18,416.57
#125.00 8.0% 10 $23,020.71
$150.00 8.0% 10 $27,624.85
1- Declare variables at the beginning of the main method for a row counter and a rectangular array of strings that provides for 10 rows and 4 columns
2- After the code that displays the results of each calculation, add code that formats all values for the calculation and converts them to strings. Then, store these string values in the next row of the array. (Hint: you can use the tstring method of the Integer class to convert the year's value to a string)
3- Add code to display the elements on the console when the user exits the application. The output should be formatted as shown above and should only include the rows that contain data
4- Test the application by making up to 10 futures value calculation.