Find area of square - C Program

C program to calculate area of square.

Solution:

Formula: Area of Square = side * side

#include<stdio.h>
int main()
{
     int side,squ_area;
     printf("Enter Side : ");
     scanf("%d",&side);
     squ_area=side*side;
     printf("\nArea of Square = %d",squ_area);
     return 0;
}


Output:

area of square