#include<iostream.h>
#include<math.h>
#include<conio.h>
void main(){
float area,r;
clrscr();
cout<<"Enter Radius of Circle = ";
cin>>r;
area=float(3.14*pow(r,2));
cout<<"Radius Of Circle = "<<r<<endl<<"Area of Circle = "<<area<<endl;
getch();
}
#include<math.h>
#include<conio.h>
void main(){
float area,r;
clrscr();
cout<<"Enter Radius of Circle = ";
cin>>r;
area=float(3.14*pow(r,2));
cout<<"Radius Of Circle = "<<r<<endl<<"Area of Circle = "<<area<<endl;
getch();
}
No comments:
Post a Comment