Question: Write a Java program named InterestCalculator.java that calculates the value of a bank account based on starting principle, interest rate and time. Prompt the user

Write a Java program named InterestCalculator.java that calculates the value of a bank account based on starting principle, interest rate and time. Prompt the user for the Number of quarters to display (int) that is greater than zero and less or equal to 10. Starting balance (double) that is greater than zero. Interest rate (double) that is greater than zero and less than or equal to 20%. Display the information the user entered and ask if it is correct. If so continue, if not ask for all the information again (loop and half example in Addition Iteration examples). Calculate the ending balance for each quarter and display the results in a table similar to below, the formula for quarterly balance is b + (b * IR/100 * .25) where b is starting balance and IR is interest rate.

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!