C++ Program to Compute the Area of a Square
#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
float side,area;
cout<<"\n\t Enter the Side of the Square:";
cin>>side;
cout<<"\n\t The Area of the Square is:"<<side*side<<"square units"<<endl;
return 0;
}