Question: please solve it as fast as possible sirs Exercise 3: Meal Order (4 marks) Exercise Objectives Using simple input and output statements Using switch selection

Exercise 3: Meal Order (4 marks) Exercise Objectives Using simple input and output statements Using switch selection structure Problem Description: KFC in Amman provides 4 offers for customers TWISTER BOX OFFER: JD 3.75 VALUE BUCKET: JD 7.75 GRAND FEAST 21 - MIX: JD 22.7 TWISTER BOX OFFER VALUE BUCKET GRAND FEAST 21 - MIX 50% OFF KFC JD 3.750 ORDER JD 7.750 ORDER JD 22.700 ORDER Write and run a C program that performs the following Displays a menu of offers for the user to select from and inputs one of three letters T- TWISTER BOX OFFER V-VALUE BUCKET G-DFEAST 21 - MIX The program asks the user to input number of meals when the TWISTER BOX OFFER is selected How many meals? The program asks the user to input the number of chicken kinds and the number of meals when the VALUE BUCKET is selected 9 PCS OF CHICKEN: Number of Chicken-Original and Chicken-Spicy How many meals? The program asks the user to input the number of chicken kinds and the number of meals when the GRAND FEAST 21 - MIX is selected 21 PCS OF CHICKEN: Number of Chicken-Original and Chicken-Spicy How many meals? The bill must be calculated in the end of the program. If an invalid option code is detected, the program will display an error message Add your name, your University ID number and section number as a comment at the beginning of this program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
