Question: i Need help with 2 and 3 on MATLAB code please help me im soo lost . Pizza shop The Ene 102 class wants to

i Need help with 2 and 3 on MATLAB code please help me im soo lost
i Need help with 2 and 3 on MATLAB code please help

. Pizza shop The Ene 102 class wants to open an automated pizza shop. You need to create an automated ordering and cost calculation system. Your program should do this: Part 1 Create a script file to compute the cost of a pizza based on these parameters Ask the customer for the pizza size (8,10,14 inch) using input statement Ask the number of toppings using input statement. Just the number, not types. Compute the area of the pizza Compute the cost of the pizza. do not use "i" statements It costs 5 cents per square inch of pizza Add 5 cents per square Inch for each topping Example; a plain pizza with toppings costs $0.05 Area; A pizza with 2 toppings is that price +0.05*Area 2 (I didn't say it was a good pricing modell) Using an facint statement report to the customer o "You ordered a tinch plaza with toppings" "Your order will be $ 0.00 I Using a display statement report "Thank you for your order Part 2 Add complexity by adding a spaghetti bowl for 56 and a ravioli bowl for $8. Ask the customer for how many orders of each of the dishes Compute the total cost Report to the customer with a longer message "You ordered a 38 inch pizza with a toppings, orders of spaghetti and orders of ravioli. "Your order will be $ Part 3 Inputs can be in vector form. Have the customer input how many drinks in vector form (We only offer one type but three sizes: small, med, large) Ask the customer for how many drinks in small, med, and large using a single input statement. Note that the variable needs to be input as a vector using quare brackets IS,M,L Create an fant statement that read back the ordering index addressing Remember that you can address the indes using syntaxe: Drift) "You ordered mall, medium, and a large din Reflection question Could you add more types of drie using a matrform? Save the file either on the local computer or on a flash drive, then upload your.mile to . Pizza shop The Ene 102 class wants to open an automated pizza shop. You need to create an automated ordering and cost calculation system. Your program should do this: Part 1 Create a script file to compute the cost of a pizza based on these parameters Ask the customer for the pizza size (8,10,14 inch) using input statement Ask the number of toppings using input statement. Just the number, not types. Compute the area of the pizza Compute the cost of the pizza. do not use "i" statements It costs 5 cents per square inch of pizza Add 5 cents per square Inch for each topping Example; a plain pizza with toppings costs $0.05 Area; A pizza with 2 toppings is that price +0.05*Area 2 (I didn't say it was a good pricing modell) Using an facint statement report to the customer o "You ordered a tinch plaza with toppings" "Your order will be $ 0.00 I Using a display statement report "Thank you for your order Part 2 Add complexity by adding a spaghetti bowl for 56 and a ravioli bowl for $8. Ask the customer for how many orders of each of the dishes Compute the total cost Report to the customer with a longer message "You ordered a 38 inch pizza with a toppings, orders of spaghetti and orders of ravioli. "Your order will be $ Part 3 Inputs can be in vector form. Have the customer input how many drinks in vector form (We only offer one type but three sizes: small, med, large) Ask the customer for how many drinks in small, med, and large using a single input statement. Note that the variable needs to be input as a vector using quare brackets IS,M,L Create an fant statement that read back the ordering index addressing Remember that you can address the indes using syntaxe: Drift) "You ordered mall, medium, and a large din Reflection question Could you add more types of drie using a matrform? Save the file either on the local computer or on a flash drive, then upload your.mile to

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!