Question: Find the Errors // This program assigns a 10% discount if a customer orders more than 12 items, and a 20% discount if a customer
Find the Errors

// This program assigns a 10% discount if a customer orders more than 12 items, and a 20% discount if a customer orders more than 24 items start Declarations string name num items num PRICEEACH = 1.39 num CUT OFF1 = 12 num CUT OFF2 - 24 num DISCOUNT1 = 0.10 num DISCOUNT2 = 0.02 num total string QUIT = "ZZZ" housekeepingch Yes QUIT NO finishcy No Yes items OnIT OFF1 total = total - Yes total * DISCOUNT1 items CUT OFF1 total = total- total . DISCOUNT2 Finish ( output "Total For" output " Program name, "is s". Local "Enter customer name OF ", QUIT. return "to quit as input name G
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
