PROGRAM TO FIND AREA OF A SQUARE(C++)

SOME C++ BASIC PROGRAMS 

AREA OF A SQUARE


# include <iostream.h>
# include<conio.h>
void main()
{
 clrscr();
 float side ,area;
 cout<<"enter side of the square :";
 cin>>side;
 cout<<"\n the area of the square is :"<<side*side<<"square units"<<endl;
 getch();