Wednesday, 27 August 2014

Area of Square solution in c plusplus

Leave a Comment

//Area of Square side2
#include<iostream>
#include<conio.h>
#include<math.h>
using namespace std;
int main()
{
double pi=3.1415926535,side,Ans;
cout<<"Enter Side 1 = ";
cin>>side;
Ans=side*side;
cout<<"Area of Square = "<<Ans;
getch();
}
If You Enjoyed This, Take 5 Seconds To Share It