PROGRAM TO FIND AREA & PERIMETER OF CIRCLE IN C++
#include
#include
void main()
{
clrscr();
double rad, area, perimeter;
cout<<"enter the radius ";
cin>>rad;
area=3.14*rad*rad;
perimeter=2*3.14*rad;
cout<<"\n the area is "<
cout<<"\n the primeter is "< getch(); } WRITTEN BY- AYUSH PRANJAL ayush-pranjal@in.com
Chat with our AI personalities
Learn c programming and geometry. It will be easy when you know both.
class area{ int l,w,a; a=i*w; printf"area of rectangle is= %d",a; endl; }
Area of a circle = pi*radius2
Find the area of the circle and divide by 4.
how do you find the area of a semi circle