Binay-10/ATM-Machine ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple console based ATM app in Java that feels like a real ATM when you run it in the terminal.

It should ask for a PIN first, then let the user check their balance, withdraw cash, deposit cash, and exit. Make sure it handles bad input nicely, like wrong PINs, trying to withdraw more than the balance, or entering letters instead of numbers. I want the flow to be easy to follow and the menu to keep coming back until the user chooses to quit.

Keep the code clean and organized, using basic object oriented Java so it’s easy to understand and learn from. If it helps, include clear messages for each action and make the transactions update the balance properly. Use standard Java only, and if you need to look up anything, check the current docs online.