Question: [ HOMEWORK ] Problem 6 . 1 [ Hint ] Use a nested exception handling! A sample run: Enter your membership type: super Warning: Your

[HOMEWORK] Problem 6.1
[Hint] Use a nested exception handling!
A sample run:
Enter your membership type: super
Warning: Your membership is in the blacklist!
No service is provided to this membership.
Another sample run:
Enter your membership type: silver
What do you want (1) transfer, (2) deposit, or (q) Quit): 1
How much do you want to transfer? 20
Insufficient amount is chosen
How much do you want to transfer? 50000
Too Big amount to transfer
How much do you want to transfer? 7000
Undecided for money transfer...
How much do you want to transfer? 1500
Transfer is successful
What do you want (1) transfer, (2) deposit, or (q) Quit): 2
How much do you want to deposit? 15000
Deposit amount over $10000 should be reported to IRS.
How much do you want to deposit? 5770
Successfully deposited.
What do you want (1) transfer, (2) deposit, or (q) Quit): q
Bye
[ HOMEWORK ] Problem 6 . 1 [ Hint ] Use a nested

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!