#include<conio.h>
#include<iostream.h>
#include<math.h>
void main()
{
clrscr();
int r;
float P=3.14,area;
cout<<" enter the radious of a circle ";
cin>>r;
area=P*r*r;
cout<<"The Area of Circle is"<<"= "<<area;
getch();
}
#include<iostream.h>
#include<math.h>
void main()
{
clrscr();
int r;
float P=3.14,area;
cout<<" enter the radious of a circle ";
cin>>r;
area=P*r*r;
cout<<"The Area of Circle is"<<"= "<<area;
getch();
}
No comments:
Post a Comment