PART 1 Create a word document then answer the following questions:

  • Write the while loop that lets the user enter a number. The number should be multiplied by 10 and the result stored in the variable product. The loop should iterate as long as product contains a value less than 100. After the loop stop, display message: “product = [value of product] - the loop stops”
  • Write a do-while loop that asks the user to enter two numbers. The numbers should be added and the sum displayed. The user should be asked if he or she wished to perform the operation again. If so, the loop should repeat, otherwise it should terminate.
  • Write a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50, ….1000
  • Write code that does the following: Opens a file named numberList.txt, uses a loop to write the number 1 through 100 to the file and then close the file
  • Write the code that does the following: Opens the numberList.txt created as above. Read all of the number from the file and displays them, adds all the numbers, close the file and display the total at the end.

PART 2 (Write the Java program)

Write the application that helps the customers access account online. The application allow users to do the following tasks:

  • Current Balance
  • Deposit
  • Withdrawal
  • Change Interest Rate
  • Bank statement
  • Exit

The task Balance: display the currentBalance as the following format:

---------------------------------------------
Account Name = Bill Jones
Account Number = 12345
CurrentBalance = $2200.00
---------------------------------------------

Task Deposit: re-calculate the currentBalance by adding a doposit amount to the currentBalance

---------------------------------------------
Account Name = Bill Jones
Account Number = 12345
Deposit = $200.00
CurrentBalance = $2400.00
---------------------------------------------

Task Withdraw: recalculate the currentBalance by subtracting a withdraw amount from the currentBalance. Withdrawing is denied when the current balance < withdraw anount + $25 If withdraw is denied, print out the message:

--------------------------------------------------------------------------------------
Account Name = Bill Jones
Account Number = 12345
CurrentBalance = $50
Your withdraw ($30) is denied since you do not have enough money to keep minimum balance $25
---------------------------------------------------------------------------------------

If withdrawing is success, print out the following:

---------------------------------------------
Account Name = Bill Jones
Account Number = 12345
Withdraw = $100.00
CurrentBalance = $2300.00
---------------------------------------------

Task Interest: interest is calculated at the end of the month. The formula: endBalance * interestRate

---------------------------------------------
Account Name = Bill Jones
Account Number = 12345
Interest = .12%
---------------------------------------------

Task Bank statement: print out the account information as the following format:

---------------------------------------------
Account Name = Bill Jones
Account Number = 12345
endMonthBalance = $2300.00
Interest (.12% ) = $2.76
CurrentBalance = $2302.76
---------------------------------------------

The program only terminate when the users want to exit and all the calculation will be hidden from the client side.

Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.