Programs in C++
Pages
Home
Sunday, 6 November 2011
Area of Circle
1.
Area of Circle
//Area of Circle
#include<iostream.h>
#include<conio.h>
void main()
{
float r,a;
cout<<"Enter the radius of circle";
cin>>r;
a=3.14*r*r;
cout<<"Area of Circle";
cout<<a;
getch();
}
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment