Question: Please answer the following question using MATLAB CODING ONLY. Show an example and the correct output. Thank you! 3. (25 points) A make-your-own pizza restaurant
3. (25 points) A make-your-own pizza restaurant charges pennies per centimeters squared of plain cheese pizza Write a script called calcPizzCost that prompts the user for a vector of pizza radii in cms., and a second prompt for the price per cm squared in cents. The script calculates the cost of each pizza and displays a table of radius. area of each pizza, and the cost ofeach cheese pizza in dollars and cents. calc PizzaCost Enter a vector of pizza radii in cms Enter the cost per square cm of pizza in cents 3 Radii Area Cost 314.16 9.42 10.00 13.57 12.00 452.39 18.47 615.75 14.00 804.25 16.00 24.13 18.00 1017.88 30.54 1256.64 37.70 20.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
