Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Vi Special Issue On Database And Expert Systems Applications Lncs 7600

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2012th Edition

3642341780, 978-3642341786

More Books

Students also viewed these Databases questions

Question

What are the possible causes of unfavorable materials variances?

Answered: 1 week ago

Question

What is Centrifugation?

Answered: 1 week ago

Question

To find integral of ?a 2 - x 2

Answered: 1 week ago

Question

To find integral of e 3x sin4x

Answered: 1 week ago

Question

To find the integral of 3x/(x - 1)(x - 2)(x - 3)

Answered: 1 week ago

Question

What are Fatty acids?

Answered: 1 week ago