The entrée choices the chef has on his menu are:
• Sole2 T
he beef entrée has the following starch choices:
• Mashed potatoes
• Smashed potatoes
The sole entrée has the following starch choices:
• Baked potato
• French fries
The following desserts are available regardless of choice ofentrée or starch:
– Creamery Ice Cream
-None (i.e. the customer does not wantdessert)
Create a series of menus to prompt the customer for their dinnerselections. A different menu should pop up at each stage: selectionof the entrée, selection of the starch, and selection of thedessert (or lack thereof).
Note that since the availability of starch selections isdependent on the choice of entrée, you should nest your starchmenus and starch switches inside the entrée cases as appropriate;only the starches available with a particular entrée shoulddisplay. Since the choice of dessert is not dependent on theentrée or starch choices, you can simply include that menu andswitch outside of – and after – your meat and starch codes.
Print the customer’s selections to the Command Window. Emulatethe formatting of this sample run:
The customer selected:Sole, French fries, green beans, and no dessert.
please how can Can I write this in MATLAB?? THANK YOU!!!