C++ Program To Find The Area Of A Circle | Room Of Codes |
Hi guys...
Welcome to my blog...
So this is the code in c++ to find the area of a circle....
So let's start learning...
#include<iostream.h>
#include<iomanip.h>
#include<conio.h>
#define pi 3.14
void main()
{ float r,area;
clrscr();
cout<<"enter the radius of the circle;
cin>>r;
area=pi*r*r;
cout<<"area of the circle is "<<area;
getch();
}
This is the code for basic program of finding the area of a circle...
Welcome to my blog...
So this is the code in c++ to find the area of a circle....
So let's start learning...
#include<iostream.h>
#include<iomanip.h>
#include<conio.h>
#define pi 3.14
void main()
{ float r,area;
clrscr();
cout<<"enter the radius of the circle;
cin>>r;
area=pi*r*r;
cout<<"area of the circle is "<<area;
getch();
}
This is the code for basic program of finding the area of a circle...

Comments
Post a Comment