Question: Write a program to implement and test the algorithm designed to find the price of a pizza per square inch. Write C++ statements that declare
Write a program to implement and test the algorithm designed to find the price of a pizza per square inch. Write C++ statements that declare variable radius of type int and variable price of type double and initialize both variables. You may assume that the value of = 3.141593. In your program, declare a named constant pi to store this value. Write the C++ statements that output the area of the circle and the price per square inch.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
