// Homework # // Problem 2.33 // Write a program that reads the radius of a circle (as a float value) // and computes and prints the diameter, the circumference, and the area. // Use the value 3.14159 for PI. #include main() { float radius, pi = 3.14159; cout << "Enter the radius: "; cin >> radius; cout << "The diameter is " << radius * 2.0 << endl << "The circumference is " << 2.0 * pi * radius << endl << "The area is " << pi * radius * radius << endl; return 0; }