#include<iostream>
using namespace std;
int main()
{
int rad;
float PI = 3.14, area, ci;
cout<<"Enter radius of circle: ";
cin>>rad;
area = PI * rad * rad;
cout<<"Area of circle "<< area<<endl;
ci = 2 * PI * rad;
cout<<"Circumference of circle "<< ci<<endl;
return (0);
}
Output:
Enter radius of circle: 50
Area of circle 7850
Circumference of circle 314
need an explanation for this answer? contact us directly to get an explanation for this answer