// FILE: Circle.cpp // COMPUTES AND PRINTS THE AREA AND CIRCUMFERENCE OF A CIRCLE #include int main () { Local data ... const double pi = 3.14159; double radius; //input: radius of a circle double area; //output: area of a circle double circum; //output: circumference of a circle // Read radius of circle. cout << "Enter the circle radius: "; cin >> radius; // Compute area of circle. area = pi * radius * radius; // Compute circumference of circle. circum = 2 * pi * radius; // Display area and circumference. cout << "The area of the circle is " << area << endl; cout << "The circumference of the circle is " << circum << endl; return 0; }