Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Pizza Program Specification Objective: Write a program that interactively allows users to specify the ingredients to go on a pizza. Specification: Create a Java Console

image text in transcribed

Pizza Program Specification Objective: Write a program that interactively allows users to specify the ingredients to go on a pizza. Specification: Create a Java Console Application that simylate the operations of placing a pizza order The order of items on the pizza is important. The program must ask the user what ingredient is next and must allow the user to choose the item from a list of specified ingredients, and must also prompt the user for item quantity from within a reasonable range of permitted values. After each ingredient the program must ask if the user is finished. However, the pizza cannot contain more than a maximum of 8 different ingredients, including the crust, the sauce, and the cheese. When the program is complete, it must print out a recipe that will be followed by the pizza chef. All Pizza Ingredients in the list below must be listed in your program. The user MUST be allowed to choose from among all items and quantities. However, error detection and error messages are allowed. Error messages could be used to exclude items that your team does not wish to allow on its pizza. Don't forget to specify in your recipe that the pizza is to be cooked, or it will not be. Language: The program must be written using the programming language you are learning in this class. java Pizza Ingredients: Item # 1a OR 1b Category Crust regular Crust-gluten-free Red Sauce Pizza cheese Diced onion Diced green pepper Pepperoni Sliced mushroom Diced jalapenos Sardines Pineapple Chunks Tofu Ham Chunks Dry red pepper Dried basil Measure each each Maximum Quantity one one cup cup 1/8 cup 1/8 cup 2 pieces 1/8 cup 1/8 cup each 2 pieces two Four Two Two Four Four Two Four Four Two 10 12 13 14 4 pieces Generous sprinkle Generous sprinkle Cooking: Pizza is to be appropriately cooked until crust is cooked and topping is fully warmed. Submit your program documentation including analysis, design, coding and testing (screen captures). Pizza Program Specification Objective: Write a program that interactively allows users to specify the ingredients to go on a pizza. Specification: Create a Java Console Application that simylate the operations of placing a pizza order The order of items on the pizza is important. The program must ask the user what ingredient is next and must allow the user to choose the item from a list of specified ingredients, and must also prompt the user for item quantity from within a reasonable range of permitted values. After each ingredient the program must ask if the user is finished. However, the pizza cannot contain more than a maximum of 8 different ingredients, including the crust, the sauce, and the cheese. When the program is complete, it must print out a recipe that will be followed by the pizza chef. All Pizza Ingredients in the list below must be listed in your program. The user MUST be allowed to choose from among all items and quantities. However, error detection and error messages are allowed. Error messages could be used to exclude items that your team does not wish to allow on its pizza. Don't forget to specify in your recipe that the pizza is to be cooked, or it will not be. Language: The program must be written using the programming language you are learning in this class. java Pizza Ingredients: Item # 1a OR 1b Category Crust regular Crust-gluten-free Red Sauce Pizza cheese Diced onion Diced green pepper Pepperoni Sliced mushroom Diced jalapenos Sardines Pineapple Chunks Tofu Ham Chunks Dry red pepper Dried basil Measure each each Maximum Quantity one one cup cup 1/8 cup 1/8 cup 2 pieces 1/8 cup 1/8 cup each 2 pieces two Four Two Two Four Four Two Four Four Two 10 12 13 14 4 pieces Generous sprinkle Generous sprinkle Cooking: Pizza is to be appropriately cooked until crust is cooked and topping is fully warmed. Submit your program documentation including analysis, design, coding and testing (screen captures)

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions

Question

Define humanised Big Data.

Answered: 1 week ago