Question
For an ATM system, write a python program for the following operations: Press b to check balance Press w to withdraw Press t to transfer
For an ATM system, write a python program for the following operations:
Press ‘b’ to check balance
Press ‘w’ to withdraw
Press ‘t’ to transfer
Press ‘r’ to recharge mobile balance
Press ‘s’ to print the transaction summary
- Take input in a variable named ‘action’
- Write the code for withdraw (maximum withdrawal limit is Rs. 20,000), deduct the amount from total balance if successfully withdrawn.
- Write the code for transfer, take an ‘accountNo’ (maximum transfer limit is Rs. 20,000), deduct the amount from total balance if successfully transferred.
- Write the code for recharge, take a ‘mobileNo’, and deduct the amount from total balance if successfully recharged.
Step by Step Solution
3.39 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
1951 E V Q l 41 Title coding utf8 Created on Thu Aug ...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 StartedRecommended Textbook for
Mobile Communications
Authors: Jochen Schiller
2nd edition
978-0321123817, 321123816, 978-8131724262
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App