No More Worries!


Our orders are delivered strictly on time without delay

Paper Formatting

  • Double or single-spaced
  • 1-inch margin
  • 12 Font Arial or Times New Roman
  • 300 words per page

No Lateness!

image Our orders are delivered strictly on time without delay

AEW Guarantees

image

  • Free Unlimited revisions
  • Guaranteed Privacy
  • Money Return guarantee
  • Plagiarism Free Writing

Intro to Object Oriented Programming

  1. Create an ATM class with class variables name, pin, and balance, a constructor with parameters to
    assign values to the three instance variables, methods to get the name, pin, and balance, and methods to
    handle validated deposits and withdrawals ( deposit and withdrawal amounts cannot be negative, and
    withdrawal amount must not be greater than the existing balance).
  2. In the ATMTest class, read the names, 4 digit pin numbers, and account balances of five or more (max
    10) customers into instances of the ATM class. Display the customers names, pins, and balances
    formatted.
  3. Now that you have all your customers’ information start your ATM to accomplish the following within
    an infinite loop,
    a. Display a welcome screen with your bank’s information and prompt for and read the customer
    entered pin.
    b. Match the entered pin with one of the customers’ pins. If the entered pin number matches that of
    one of the customers, then:
    i. Welcome the customer by name and display the balance.
    ii. Display option to
  4. DEPOSIT,
  5. WITHDRAW or
  6. EXIT.
    iii. If option 1 is selected, then use the instance deposit method to prompt for deposit
    amount, read, and add a valid deposit amount to the customer’s balance
    iv. If option 2 is selected, then use the instance withdrawal method to subtract a valid
    withdrawal amount from the customers balance
    v. If option 3 is selected, go to step a.
  7. Should the entered pin number not match that of any of the existing customers, notify the iser that the
    entered pin is not valid and go to step a.
  8. Selection of the EXIT option must display welcome/login screen (step a).
  9. Should an incorrect option be entered, notify the user and display the original welcome/login screen
    (step a).

This question has been answered.

Get Answer
PLACE AN ORDER NOW

Compute Cost of Paper

Subject:
Type:
Pages/Words:
Single spaced
approx 275 words per page
Urgency:
Level:
Currency:
Total Cost:

Our Services

image

  • Research Paper Writing
  • Essay Writing
  • Dissertation Writing
  • Thesis Writing

Why Choose Us

image

  • Money Return guarantee
  • Guaranteed Privacy
  • Written by Professionals
  • Paper Written from Scratch
  • Timely Deliveries
  • Free Amendments