#include< iostream>
#include<conio.h>
#include<math.h>
using namespace std;
int main()
{
float radius,area;
cout<<"enter the radius";
cin>>radius;
area=(pow(radius, 2)3.14);
cout<<"area of circle is "<<area<<endl;
}
.
.
In this program you enter radius of circle in output and it will give you the area of circle .
cin>>radius; ( here you enter the radius of circle ).
area=(pow(radius, 2)3.14); ( In the line the processing or calculation of Area of circle.
An Example is shown Below.
Here it shows we I Enter the Radius = 12 and it give us the Area of circle = 452.16
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
If you enjoyed what you read here, create your account today and start earning FREE STEEM!