Question: Programming work: The circumference, C, of a circle is given by the formula C = 2*pi* r, where pi is the constant 3.1416 and r
Programming work:
The circumference, C, of a circle is given by the formula C = 2*pi* r, where pi is the constant 3.1416 and r is the radius of the circle. Using this formula, write a C++ program to calculate the circumference of a circle that has r radius as input. Output the circumference.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
