Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The question is c++ computer programming -CA A http://blackboard.morehouse.du/webapps/assessment/take/4 0 (1208) .. Q. Search Moving to another question will save this response Question 1 of

The question is c++ computer programming

image text in transcribed
-CA A http://blackboard.morehouse.du/webapps/assessment/take/4 0 (1208) .. Q. Search Moving to another question will save this response Question 1 of 19 3 Question 1 40 points Save Ant PROGRAM CHALLENGE (40 pts.): Please complete the code in its entirety, including comments throughout the code. 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 NOTE: IT is 3.14159. The variable r is the radius of the pizza. Divide the diameter by 2 to get the radius. T T T Arial - 3 (12pt) T . E . E . D.op Activate Windows Gots Steeringprobrap W 9:18 Type here to search W

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

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions