mallenascutia mallenascutia
  • 09-09-2020
  • Computers and Technology
contestada

design an algorithm to find and display the price of the pizza per square inch

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 14-09-2020

Answer:

The algorithm is as follows

  1. Start
  2. Read the price of unit Pizza, P
  3. Read the Radius of Pizza, R
  4. Area = 3.14 * R * R
  5. Price Per Area = P/Area
  6. Print Price Per Area
  7. Stop

Explanation:

The algorithm is self explanatory.

However, take note of the following

  1. Price Per Square inch is calculated by dividing the price (P) of the pizza by its area
  2. A pizza has a circular surface, so the area will be calculated using Area = πR²
  3. So, the formula to calculate the required output is P/Area as shown in the algorithm above.
Answer Link

Otras preguntas

how do i get i guy to like me when were only in middle school?
What is phraseology and how is classified?
Please help it’s too easy but I don’t understand it
Helps nervous system control and coordinate activities of the body; helps regulate growth. What system is that help me please
The Moon's mass is lower than that of Earth, thus its gravity is ____ Earth’s gravity. This is 5th grade btw
Solve:-4(-6x - 3) =12
if you can do any of these that would be great, just please tell me which ones you did and the more questions you do the more points you get
angela neli are going to the movies
Study the stem-and-leaf plot. How many cars get 8 miles per gallon?
Write the equation of a line, in slope-intercept form, that has a slope of m=9 and passes through the point (4, 31) .Enter your answer in the box, without space