Question
Using Python. When you use an automated teller machine(ATM)with your bank card, you need to use a personal identification number (PIN) to access your account.
Using Python. When you use an automated teller machine(ATM)with your bank card, you need to use a personal identification number (PIN) to access your account. If a user fails more than three times when entering the PIN, the machine will block the card. Create the ATMApplication.The application asks the user for the PIN no more than three times and does the following: IftheuserenterstherightPIN, the application should ask the user to choose an account(checking or savings), and display its balance. IftheuserentersawrongPIN and, if the application has asked for the PIN-less than three times, it should ask for it again. IftheuserentersawrongPIN three times, the application should print a message sayingYour bank card is blocked.Assume that the users checking account balance is $1450.56and his/her savings account balance is $10. Also, assume the users PIN is 9554.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started