Question: USING MATLAB script Your project team wants to order pizza for a late-night coding session. The number of slices and type of pizza desired by

USING MATLAB script

  1. Your project team wants to order pizza for a late-night coding session. The number of slices and type of pizza desired by each member are as follows:

Name

Type

Slices

Joe

Pepperoni

2

Jim

Veggie

3

Jane

Pepperoni

2

Jennifer

Cheese

1

Janine

Mushroom

4

Jeff

Veggie

3

Jerry

Pepperoni

2

Jack

Mushroom

3

Jolene

Pepperoni

3

If each pizza has 6 slices (go with us on this, it makes the problem more interesting), determine and print to the command window how many of each type of pizza must be ordered. (As you well know, you cannot order a partial pizza.) Also, print to the command window the number of left-over slices of each pizza type, assuming that each person eats the number and type of slices shown in the table. If you are using the checker, store the numbers of pizzas in variables called pepperoni_pizzas, veggie_pizzas, etc. Store the numbers of left-over slices in variables called pepperoni_left, veggie_left, etc.

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!