I want to write a function that simulates an ATM operation.
If a user incorrectly enters their pin more than 3 times, I want to show an error.
This program is simple, so the only way the user can incorrectly enter a pin is if they enter less than four digits.
How would I write this function?