Build an ATM simulator
60 min · Medium
Need help? Ask a tutor on WhatsApp (opens in a new tab)An ATM is a menu program with strict rules: check the PIN, never give out more money than the balance, and never crash on bad input.
What you will learn
What you will learn
- Pass values into methods and return the new value
- Validate input with try/catch
- Combine loops, switch and methods
- Keep helper methods private
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.