Question: Create a Dev C++ Program for the following using the SWITCH statement: Pizza parlors offers different pizza sizes in terms of diameters. For example, Dominos

Create a Dev C++ Program for the following using the SWITCH statement:

Pizza parlors offers different pizza sizes in terms of diameters. For example, Dominos has three options: 10 inches, 12 inches, 14 inches diameter. Extravaganza pizza costing 178 pesos, 259 pesos and 314 pesos respectively. Write a program that will input the diameter of the pizza, and its price. Determine the (a) area of the pizza and (b) the price by the divided area. Find out which of the three options above (for Dominos) is the least expensive in terms of price per square inch of pizza. Note that the area of a circle is equivalent to PI* (diameter / 2)2.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!