Question: JAVA - John has $ 5 0 0 to invest. Sue knows of a mutual fund plan that pays 1 0 percent interest.com: pounded quarterly
JAVA John has $ to invest. Sue knows of a mutual fund plan that pays percent interest.com: pounded quarterly that is every months, the principal is multiplied by the percent and theresult is added to the principal; more generally, the amount of gain each quarter is equal to current balance interest rate Write a program that tells John how much money will bein the fund after years. Make the program general, that is it should take as inputs the interest rate, the initial principal, and the number of years to stay in the fund. The output should be a table whose columns are the year number, the principal at the beginning of the year, the interest earned, and the principal at the end of the year.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
