Question: Consider the given scenario for describing an algorithm using pseudocode. UML Supermarket has different ways of awarding discounts to its customers for each purchase they
Consider the given scenario for describing an algorithm using pseudocode.
UML Supermarket has different ways of awarding discounts to its customers for each purchase they make. A discount is given on the total value of the purchase. In addition, a standard loyalty discount is given if customers have a permanent customer card. Your program should indicate the amount payable by the customer after the discounts. Identify the inputs that the program requires from the given set of options.
I. The discount percentage
II The total value of the purchase
III. The loyaltydiscount amount
IV The customer card number
V The amount payable after discount
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
