Wednesday, 27 August 2014

Area of Circle solution in c plusplus

Leave a Comment

//Area of Circle          pi × radius2
#include<iostream>
#include<conio.h>
#include<math.h>
using namespace std;
static double pi=3.1415926535;
int main()
{
double radius,temp,Ans;
cout<<"Enter Radius = ";
cin>>radius;
temp=radius*radius;
Ans=pi*temp;
cout<<"Area of Circle = "<<Ans;
getch();
}
If You Enjoyed This, Take 5 Seconds To Share It