/* * Homework #0, problem 0. * Programmers: April Showers, Mae Flowers, June Bugs * * This program prints out the circumference of a circle given the * radius. */ #include int main() { float r; /* Radius */ float C; /* Circumference */ /* Get the radius */ printf("Enter the radius: "); scanf("%g", &r); /* Calculate and print the circumference. */ C = 2. * 3.14159 * r; printf("Circumference = %g\n", C); return 0; }