Program to calculate the Area of a Square.

//Program to calculate the Area of a Square.

 #include<stdio.h>


int main()


{

float side;

printf("enter the side of a square");

scanf("%f", &side);

printf("area of square=%f",side*side); //Area of square = side * Side.

return 0;

}

Comments