Question: Computing a discount that consumers receive based on the value of their order. If the total value ordered is less than $20, no discount will be given. If the total amount is between $20.00 and $50.00, a discount of 5% will be given. If the total amount is between $20.00 and $50.00, a discount of 5 percent will be given. If the total amount is greater than $50.00 and less than $100.00, a discount of 10% will be given. If the total amount is $100.00 or more, a premium customer receives a 20 percent discount and a regular customer receives a 15% discount.