Question: Write a python program that takes pin code(5674,8756,9889,2342) and balance of a user's account as input. It should then ask the user how much amount

Write a python program that takes pin code(5674,8756,9889,2342) and balance of a user's account as input. It should then ask the user how much amount he\she wants to withdraw from his\her account. The program should take this amount as input and deduct from the balance. Similarly, it should ask the user how much amount he\she wants to deposit in his\her account. It should take this amount as input and add to the balance. The program shall display the new balance after amount has been withdrawn and deposited.

Note: Your program should have all necessary checks on the transactions. Display a menu to the user to let him\her choose between different available options. Make sure to add comments that explains your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!