This question is from Mathmatical structure for computer sci
This question is from Mathmatical structure for computer science 7th edition book section 4.2 Question number 22
A Hawaiian favorite fast food is the \"loco moco\" , invented at a Hilo restaurant. It consists of a bed of rice under a meat patty with egg on top, the whole thing smothered in brown gravy. The rice cab be white or brown, the egg cab be fried , scrambled, or poached, and the meat can be hamburger, spam , portuguese sau-sage, bacon , turkey, hot dog, salmon, or mahi. How many different loco mocos can be ordered?
Solution
Okay So we have 2 types of Rice let it be R1 and R2.
We have 3 types of Egg Cab let it be E1,E2,E3.
We have 8 types of Meat let it be M1,M2,M3,M4,M5,M6,M7,M8.
So First taking R1 and E1 with all types of meat once, so we have 8 Combos,
Similarly taking R1 and E2 with all types of meat once, so we have 8 Combos,
Taking R1 and E3 with all types of meat once, so we have 8 Combos,
So, with 1st type of Rice we have a total of 24 Combos.
Now Same with R2
First taking R2 and E1 with all types of meat once, so we have 8 Combos,
Similarly taking R2 and E2 with all types of meat once, so we have 8 Combos,
and then taking R2 and E3 with all types of meat once, so we have 8 Combos.
So, with 2nd type of Rice we have a total of 24 Combos.
So, in all we can have 48 different Combinations of loco moko having any of the of Rice, Egg Cab and Meat.
Thank You for using Chegg...
