Question: Create a Java console program that prompts a user to enter an investment amount (i.e., present value), the number of periods (e.g., months), and the

Create a Java console program that prompts a user to enter an investment amount (i.e., present value), the number of periods (e.g., months), and the annual percentage rate (APR). The program uses the input values to calculate and list the future values for the periods. Then, the program asks the user to enter c to continue or any other key to quit. The following is an example if a user has entered $1,000 for the initial investment, 12 months for the periods, and 4.25% for the APR. The user then entered c to continue with $1,000 of investment, 4 months for the periods, and 12% of the APR.

Create a Java console program that prompts a user to enter an

C:\Java Code j Exam02MaryJane ava Enter the investment amount: 1000 Enter the annual percentage rate: 4.25 Enter the number of periods 12 Periods Balance 1003.54 1007.10 1010.66 4 1014.24 1017.83 1021 44 1025.06 1028.69 9 1032.33 10 1035.99 11 1039.66 12 1043.34 Enter c or C to continue or any other key to quit: c Enter the investment amount 1000 Enter the annual percentage rate: 12 Enter the number of periods: 4 Periods Balance 1010.00 1020.10 1030.30 4 1040.60 Enter c or C to continue or any other key to quit: q C: Java Code> The interest is calculated monthly and you can use the following arithmetic formula to calculate the future investment value: Where Fv: future value of investment amount. Pv: present value or investment amount, r: annual interest rate with decimal place numbers number of periods

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!