Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB Code I need help with number part 2 n 3 please . Insert Tablo Chart Text Shape Media Commdat Part 1 Create a script
MATLAB Code
. Insert Tablo Chart Text Shape Media Commdat Part 1 Create a script file to compute the cost of a pizza based on these parameters Ask the customer for the plata 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 statements It costs 5 cents per square Inch of pizza Add 5 cents per square Inch for each topping Example; a plain pizza with topping costs $0.05 Area; A pizza with 2 toppings is that price 0.05 Area 2 didn't say it was a good pricing modell) Using anfarin statement report to the customer "You ordered a 2 inch pizza with toppings" "Your order will be sa Using a display statement report "Thank you for your order" Part 2 Add complexity by adding a spaghetti bowl for $6 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 inchpes with stoppings, orders of spaghetti and te orders of revoll "Your order will be Part 3 Inputs can be in vector form. Have the customer vout how many drinks in vector form (We only offer one type but the size wall, med, large . Ak the customer for how many drinks in small, med, and large using a single put statement. Note that the variable needs to be input as a vector sing sure brackets [S, M Geste coment that read back the designer adresine ember that you can hearint) dan Foton Code you are type og for Save the chartholome, then you mnie to . Insert Tablo Chart Text Shape Media Commdat Part 1 Create a script file to compute the cost of a pizza based on these parameters Ask the customer for the plata 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 statements It costs 5 cents per square Inch of pizza Add 5 cents per square Inch for each topping Example; a plain pizza with topping costs $0.05 Area; A pizza with 2 toppings is that price 0.05 Area 2 didn't say it was a good pricing modell) Using anfarin statement report to the customer "You ordered a 2 inch pizza with toppings" "Your order will be sa Using a display statement report "Thank you for your order" Part 2 Add complexity by adding a spaghetti bowl for $6 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 inchpes with stoppings, orders of spaghetti and te orders of revoll "Your order will be Part 3 Inputs can be in vector form. Have the customer vout how many drinks in vector form (We only offer one type but the size wall, med, large . Ak the customer for how many drinks in small, med, and large using a single put statement. Note that the variable needs to be input as a vector sing sure brackets [S, M Geste coment that read back the designer adresine ember that you can hearint) dan Foton Code you are type og for Save the chartholome, then you mnie to I need help with number part 2 n 3 please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started