Question: * Question 2 Write a pseudocode for the following process: A cupcake cost RM2.80 each. A program will read the quantity of cupcakes that is

 * Question 2 Write a pseudocode for the following process: A

* Question 2 Write a pseudocode for the following process: A cupcake cost RM2.80 each. A program will read the quantity of cupcakes that is requested by a customer and then calculate the discount that the customer will receive. If the number of cupcakes is less than or equal to 5, the discount is 5% of the total price, otherwise is 15%. The program will display the discount and the total price to pay after discount) to the customer. [4 marks]

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 Databases Questions!