Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Please answer the following question using MATLAB CODING ONLY. Show an example and the correct output. Thank you!
image text in transcribed
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

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

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions