Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

because if 4 people each eat 2 slices ( 8 total) and their are 12 slices per pizza, then 1 pizza is enough to feed

image text in transcribed
because if 4 people each eat 2 slices ( 8 total) and their are 12 slices per pizza, then 1 pizza is enough to feed everyone. Ex: If the input for number of people is: 7 the output is: Pizzas: 2 Cost: $29.90 because if 7 people each eat 2 slices, that equals 14 slices eaten. But there are only 12 slices per pizza, so we need to order anoth to have enough (hint ceil()). Think about that as an equation to find the number of pizzas and then you can calculate cost simply of pizzas price) \begin{tabular}{l|l} UAB \\ Activiry & 2.81, LBB: Pizza party \end{tabular} main.py Load default templ 1 inprort wath

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

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

1. How does Kiwi Experience maintain a continual customer focus?

Answered: 1 week ago