Original Post
hello, this exercise want me ask the user to compute the area and circumference, the compiler get me error, π ≈ 3.14 input radius = 10 this my code: #include using namespace std; int main() { float a, c, r cout << " Enter the radius of a circle:" << endl; cin >> r; a = 3.14 * r * r; c = 2 * 3.14 * r; cout << " The area of a circle " << a << endl; cout << " The circuit of a circle " << c << endl; }