Brookhaven College Java Program named SavingsAccount Project This can be done in the main() method. 1. Create an int variable named currentBalance and ass

Brookhaven College Java Program named SavingsAccount Project This can be done in the main() method.

1. Create an int variable named currentBalance and assign it the value of 0.

Don't use plagiarized sources. Get Your Custom Essay on
Brookhaven College Java Program named SavingsAccount Project This can be done in the main() method. 1. Create an int variable named currentBalance and ass
For $10/Page 0nly
Order Essay

2. Create an int variable named amountToSaveEachMonth.

3. Prompt “Enter amount to save each month:” and assign the result to the int variable in step 2.

4. Create an int variable name numberOfMonthsToSave.

5. Prompt “Enter the number of months to save:” and store the input value into the variable in step 4.

6. Create an int variable named currentSavingsMonth and assign it the value of 1.

7. Using a while loop, do the following while the currentSavingsMonth <= numberOfMonthsToSave -Add the amountToSaveEachMonth to the current balance. -Display the currentSavingsMonth and the current balance -Add 1 to the currentSavingsMonth

Calculator

Calculate the price of your paper

Total price:$26

Need a better grade?
We've got you covered.

Order your paper