Programs in C++
Pages
Home
Showing posts with label
Area of Circle
.
Show all posts
Showing posts with label
Area of Circle
.
Show all posts
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();
}
Older Posts
Home
Subscribe to:
Comments (Atom)