Question: In C language CS 1313 010: Programming for Non-majors, Spring 2018 Programming Project #4: Italian Restaurant Due by 10:20am Wednesday March 28 2018 This fourth

In C language
 In C language CS 1313 010: Programming for Non-majors, Spring 2018
Programming Project #4: Italian Restaurant Due by 10:20am Wednesday March 28 2018
This fourth project will give you experience writing a program that involves
branching (12). This project will use the same development process as in
Programming Projects #2 & #3, and will be subject to the same
rules and grading criteria, with some new criteria added. This specification is
less detailed than for previous programming projects. YOU ARE EXPECTED TO KNOW
HOW TO PERFORM BASIC TASKS WITHOUT HAVING TO BE TOLD EXPLICITLY You've
just opened an Italian restaurant. Each meal your restaurant serves can consist

CS 1313 010: Programming for Non-majors, Spring 2018 Programming Project #4: Italian Restaurant Due by 10:20am Wednesday March 28 2018 This fourth project will give you experience writing a program that involves branching (12). This project will use the same development process as in Programming Projects #2 & #3, and will be subject to the same rules and grading criteria, with some new criteria added. This specification is less detailed than for previous programming projects. YOU ARE EXPECTED TO KNOW HOW TO PERFORM BASIC TASKS WITHOUT HAVING TO BE TOLD EXPLICITLY You've just opened an Italian restaurant. Each meal your restaurant serves can consist of an entree, a dessert, and a drink. Your Italian restaurant serves several entrees (cheese ravioli, beef rigatoni, vegetarian lasagna) several desserts (cheesecake, tiramisu, gelato), and several drinks (coffee, soda, tea). Your restaurant also has a kiddie menu for children, with two additional entrees (spaghetti, maca- roni and cheese), and one additional drink (lemonade). Each entree has two size options: small and large. Desserts and drinks come in one size only.) Each entree price depends on the size choice: for each, the small size is cheaper than the large size Children can order either from the regular menu or from the kiddie menu, but they can only order the small size of the adult entrees, or one of the kiddie entrees (which only come in one size). Children CANNOT order coffee or tea. Adults CANNOT order the kiddie entrees or the kiddie drinks. A customer can order AT MOST one item from each category; for example, they can order a large vegetarian lasagna as their entree, cheesecake as their dessert and coffee as their drink. But, they AREN'T REQUIRED to order one of each category: for example, they can order no entree or dessert at all, just a cup of coffee The prices are: Item Price Small PricePrice $7.25 $9.00 Cheesecake $4.25 Item Cheese Ravioli Beef Rigatoni Vegetarian Lasagna $9.50 $11.25 Gelato Spaghetti Macaroni & Cheese $3.75 $8.75 $10.50 Tiramisu S5.50 S3.75 S2.75 S1.50 $2.00 $4.50 Coffee Soda Tea Lemonade $1.7:5 Your community's sales tax rate is 8.75%. A up of 18% is automatically added to every bill. NOTE: You are welcome to substitute other items, as long as you do so consistently and continue to follow the rules. For example, you could change beef rigatoni to eggplant parmigiana, etc, but the number and categories of items, and the prices, MUST remain the same. IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT!! To get full credit, you MUST use if blocks properly, including nested if blocks CS 1313 010: Programming for Non-majors, Spring 2018 Programming Project #4: Italian Restaurant Due by 10:20am Wednesday March 28 2018 This fourth project will give you experience writing a program that involves branching (12). This project will use the same development process as in Programming Projects #2 & #3, and will be subject to the same rules and grading criteria, with some new criteria added. This specification is less detailed than for previous programming projects. YOU ARE EXPECTED TO KNOW HOW TO PERFORM BASIC TASKS WITHOUT HAVING TO BE TOLD EXPLICITLY You've just opened an Italian restaurant. Each meal your restaurant serves can consist of an entree, a dessert, and a drink. Your Italian restaurant serves several entrees (cheese ravioli, beef rigatoni, vegetarian lasagna) several desserts (cheesecake, tiramisu, gelato), and several drinks (coffee, soda, tea). Your restaurant also has a kiddie menu for children, with two additional entrees (spaghetti, maca- roni and cheese), and one additional drink (lemonade). Each entree has two size options: small and large. Desserts and drinks come in one size only.) Each entree price depends on the size choice: for each, the small size is cheaper than the large size Children can order either from the regular menu or from the kiddie menu, but they can only order the small size of the adult entrees, or one of the kiddie entrees (which only come in one size). Children CANNOT order coffee or tea. Adults CANNOT order the kiddie entrees or the kiddie drinks. A customer can order AT MOST one item from each category; for example, they can order a large vegetarian lasagna as their entree, cheesecake as their dessert and coffee as their drink. But, they AREN'T REQUIRED to order one of each category: for example, they can order no entree or dessert at all, just a cup of coffee The prices are: Item Price Small PricePrice $7.25 $9.00 Cheesecake $4.25 Item Cheese Ravioli Beef Rigatoni Vegetarian Lasagna $9.50 $11.25 Gelato Spaghetti Macaroni & Cheese $3.75 $8.75 $10.50 Tiramisu S5.50 S3.75 S2.75 S1.50 $2.00 $4.50 Coffee Soda Tea Lemonade $1.7:5 Your community's sales tax rate is 8.75%. A up of 18% is automatically added to every bill. NOTE: You are welcome to substitute other items, as long as you do so consistently and continue to follow the rules. For example, you could change beef rigatoni to eggplant parmigiana, etc, but the number and categories of items, and the prices, MUST remain the same. IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT!! To get full credit, you MUST use if blocks properly, including nested if blocks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!