// program to get area of square
#include<stdio.h>
#include<conio.h>
void main()
{
float length;
float area;
printf(“enter base and height of square\n”);
scanf(“%f”,&length);
area=length*length;
printf(“the area is=%f\n”,area);
getch();}