Mathematics
Mathematics, 20.09.2019 20:20, pr47723

Pizza pi (25 point) joe’s pizza palace needs a program to calculate the number of slices a pizza of any size can be divided into. the program should perform the following steps:
a. ask the user for the diameter of the pizza in inches.
b. calculate the number of slices that may be taken from a pizza of that size.
c. display a message telling the number of slices.
to calculate the number of slices that may be taken from the pizza, you must know the following facts:  each slice should have an area of 14.125 inches.  to calculate the number of slices, simply divide the area of the pizza by 14.125.  the area of the pizza is calculated with this formula: area = πr 2 note: π is the greek letter pi. 3.14159 can be used as its value. the variable r is the radius of the pizza. divide the diameter by 2 to get the radius.

answer
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 21:00, kprincess16r
Choose the equation below that represents the line that passes through the point (2, 4) and has a slope of 3. a) y − 4 = 3(x − 2) b) y − 2 = 3(x − 4) c) y + 4 = 3(x + 2) d) y + 2 = 3(x + 4)
Answers: 1
image
Mathematics, 21.06.2019 22:00, Jasten
(05.02)a farmer has decided to divide his land area in half in order to plant soy and corn. calculate the area of the entire area so he knows how much soil is needed. a parallelogram with a height of 6 yards and side length 9 yards. the height forms a triangle with the slanted side of the rhombus with a base of 2.5 yards. rhombus is split into a soy half and a corn half. each bag of soil covers 40 square yards. how many bags should the farmer purchase?
Answers: 3
image
Mathematics, 21.06.2019 22:30, jcazares3558
Abag contains 10 white golf balls and 6 striped golf balls. a golfer wants to add 112 golf balls to the bag. he wants the ratio of white to striped gold balls to remain the same. how many of each should he add?
Answers: 2
image
Mathematics, 21.06.2019 23:00, Faizalcell2120
Aremote-controlled boat can travel at 4 feet per second in calm water. the boat traveled 48 feet with the current, and then it traveled 16 feet against the current in the same amount of time. how fast is the current?
Answers: 1
Do you know the correct answer?
Pizza pi (25 point) joe’s pizza palace needs a program to calculate the number of slices a pizza of...

Questions in other subjects:

Konu
Computers and Technology, 09.07.2019 21:00