Question: Using C++, disgn pizza algorith with specifications. Designing Algorithm Algorithm for find the price of the pizza per square inch: Get the radius of pizza
Using C++, disgn pizza algorith with specifications.

Designing Algorithm Algorithm for find the price of the pizza per square inch: Get the radius of pizza in inches. Store the value of radius in the variable radius. Find the area of the pizza using radius. Store the value of area in the variable pizzaArea. pizzaArea = 3.14 * radius * radius. Get the price of the pizza. Store the price in the variable pizzaPrice. Compute the price of the pizza per square inch using pizzaPrice and pizzaArea. Store the value of area in the variable pricePerSquare. pricePerSquare = pizzaPrice/pizzaArea
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
