Answer:
d) II and IV . See explanation below.
Step-by-step explanation:
Assuming the following list of inputs:
I. The discount percentage
II. The total value of the purchase
III. The loyalty-discount amount
IV. The customer ID card number
V. The amount payable after discount
Possible options for the answer:
a) I, II, and III
b) I and III
c) II, IV, and V
d) II and IV
For this case we want to calculate the amount payable by the customer after the discounts.
And for this case is always necessary the value of the purchase so option II is true. The percent of discount is given so then option I is not true since we know this value.
The option III is not required since the discount is based on the info and if the customer have ID card so then this value is not necessary.
For option IV is necessary know the ID card in order to identify if the person have a permanent or non permanent card in order to apply discounts, this information is useful
And for the last option V that's not an input, since represent the output desired.
So then the correct options are II and IV
d) II and IV