Question 1 of 5
A cafeteria line should work as follows. If vegetarian is true, print stew when soupLeft > 0 and print salad otherwise. If vegetarian is false, print grill.
(a) Write nested if / if-else statements that produce that behavior. (b) State the displayed text when vegetarian is true and soupLeft is 0. (c) Explain why soupLeft is compared only after vegetarian is true.