Question: Write and execute a C program that calculates and displays the circumference of a circle that has a radius of 2.57 inches. The relevant formula
Write and execute a C program that calculates and displays the circumference of a circle that has a radius of 2.57 inches. The relevant formula is circumference = 2 * * radius, where is the value 3.1416. Use the variable names radius and circumference in your program.
Variables: const double pi = 3.1416 double radius = 2.57 double circumference
Formula: circumference = 2 * * radius
thanks!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
