Swift programming language hackathon. Implementation of the main logic of working with an ATM in the Playground environment.
The task is as follows: to implement the logic of interaction with an ATM, working in the playground.
As part of the task, you must do the following:
- balance request on the card and on the bank deposit
- cash withdrawal from a card or a bank deposit
- replenishment of the card and bank deposit in cash
- replenishment of the phone balance in cash or from a card