#include<iostream>
using namespace std;
int main()
{
float r,area,circum;
cout<<"Enter the radius of the circle ";
cin>>r;
area=3.14*r*r;
circum=2*3.14*r;
cout<<"Area of the circle is "<<area;
cout<<" Circumference of the circle is "<<circum;
return 0;
}
Do Comment,Share :)
Sharing is Caring ;)
No comments:
Post a Comment