Question: Project 2: Circle Circumference and Area Write a C++ program that inputs the radius of a circle and then computes the area and circumference of
Project 2: Circle Circumference and Area Write a C++ program that inputs the radius of a circle and then computes the area and circumference of the circle using the following formulae: area = pi * radius * radius circumference = 2 * pi * radius. Set pi to 3.14159. Note that the C++ "^" operator is not an exponentiation operator. The program input/output should look like the following: Enter the radius (in inches): 10.0 Area of a circle with this radius = 314.16 square inches Circumference of a circle with this radius = 62.83 inches
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
