Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You and several friends decide to order some pizzas, and you agree to split the cost. It is assumed then that each person will get
You and several friends decide to order some pizzas, and you agree to split the cost. It is assumed then that each person will get a fair share of the purchase, so the problem is to figure out how many slices that is. The pizza slices must be divided as equally as possible, but slices will not be further cut into fractions. It is possible that some will get one more slice more than others, but the difference must never be more than one You will be given the number of people involved, and the number of whole pizzas (where each pie is divided into eight slices. Determine how many slices each may get. Some people might limit themselves to 2 slices. Well, that just leaves the more for everyone else. For this option, assume that nobody will end up with fewer than 2 slices. Figure out how the pizza will be distributed. For example, How many people are sharing pizza? 5 How many pizzas will be ordered? 2 How many will limit themselves to two slices? 1 You win divide 16 sices 1 wii have 2, 2 have and 2 wiL1 have A NOTE: Answering O to the third question results in the same effect as the original assignment Those pursuing extra credit need not submit two separate programs
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