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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!