You are on page 1of 1

Customer:

-Name
-AccountNumber
-Pin
-Balance
-IsLocked

Write a logic for withdrawl of money from ATM.


- After successful login, display message Hello {name}
- User can enter upto 3 incorrect pins. After 3rd attempt, account is locked
and Locked message is displayed.
- User can withdraw maximum of 5000 in sinfle transaction.
- User can not withdraw more than balance.
- After completion of transaction, show remaining balance.

You might also like