Java program

In this lab you need to write a Java program named InterestCalculator.java that calculates the value of a bank account based on starting principle, interest rate and time.

2. The program must

a. Prompt the user for

i. Number of quarters to display (int) that is greater than zero and less or equal to 10.

ii. 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.If the user enters a value outside the boundaries listed above, prompt them with an error message and ask for the value again(Loops

Place Similar Order Now!

  • Our Support Staff are online 24/7
  • Our Writers are available 24/7
  • Most Urgent order is delivered with 6 Hrs
  • 100% Original Assignment Plagiarism report can be sent to you upon request.
[order_calculator]