Answer:
switch(inventory) X:
total_label += label_order;
break;
case M:
break;
default:
console.log("Error! Invalid inventory value");
Step-by-step explanation:
The switch keyword is a control statement used in place of the if-statement. It uses the 'case' and 'break' keywords to compare input values and escape from the program flow respectively. The default keyword is used to accommodate input values that do not match the compared values of the cases.