Java program

| October 27, 2015

In this lab you need to write a Java program named 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

Get a 5 % discount on an order above $ 150
Use the following coupon code :
Amusement Park

Category: Homework Help

Our Services:
Order a customized paper today!
Open chat
Hello, we are here to help with your assignments