Question: d) Write a simple program using exception handling. The program allows the payment by credit card if the amount is more than RM50. Otherwise, payment
d) Write a simple program using exception handling. The program allows the payment by credit card if the amount is more than RM50. Otherwise, payment can only be done by cash. [3 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
