Write C++ program to input the radius of a circle and display its area.
Answers
Answered by
0
Answer:
C++ Program to Compute the Area of Circle
- * C++ Program to Compute the Area of Circle.
- float radius, area;
- std::cout << "Enter the radius of circle : ";
- std::cin >> radius;
- area = 3.14 * radius * radius;
- std::cout << "Area of circle with radius "
- << radius << " is " << area;
Similar questions