A cafeteria offers 5 types of sandwiches. Moreover, for each type of sandwich, a customer can choose one of 4 breads and opt for either small or large sized sandwich. Optionally, the customer may also add up to 2 out of 6 available sauces. The number of different ways in which an order can be placed for a sandwich, is
A cafeteria offers 5 types of sandwiches. Moreover, for each type of sandwich, a customer can choose one of 4 breads and opt for either small or large sized sandwich. Optionally, the customer may also add up to 2 out of 6 available sauces. The number of different ways in which an order can be placed for a sandwich, is
Solution
An order requires 4 independent choices:
Sandwich type: ways
Bread type: ways
Size (small or large): ways
For sauces, the customer can add 0, 1, or 2 sauces out of 6 available.
Since adding sauces is optional, all three cases need to be considered:
0 sauces:
1 sauce:
2 sauces:
Note: Combinations are used here because the order in which sauces are chosen does not matter.
Total sauce options ways
Since all 4 choices are independent of each other, the total number of ways to place an order:
Related questions:
CAT 2020 Slot 2