Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 919 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 919 Bytes

The task assigned to me was to create an ATM interface that would allow users to access their bank account, check their balance, deposit money, and withdraw money.

Here are the instructions on which my project is based on:-

  1. Create a class to represent the ATM machine.
  2. Design the user interface for the ATM, including options such as withdrawing, depositing, and checking the balance.
  3. Implement methods for each option, such as withdraw(amount), deposit(amount), and checkBalance().
  4. Create a class to represent the user's bank account, which stores the account balance.
  5. Connect the ATM class with the user's bank account class to access and modify the account balance.
  6. Validate user input to ensure it is within acceptable limits (e.g., sufficient balance for withdrawals).
  7. Display appropriate messages to the user based on their chosen options and the success or failure of their transactions.