Drawer

Bank app

Created a class that takes customer ID as input. it check if there is any transaction files is available or not.

- If available it will retrieve balance from the transaction file. 
- if not, it will assign minimum as 50 

Bank app - image 1 - student project

Class also check if amount to be withdrawn is not greater than current balance. It gives warning to the users to check the balance. 

 

Wrote a function that calls above Class. It iterates through input till user exit. 

Action 1 - Withdrawal.
Action 2 - Deposit 
Action 3 - Print last 10 transactions 
Action 4 - Exit 

Bank app - image 2 - student project