Area of a Square In C Language:
#include<stdio.h>
int main(){
int area,side;
printf("Enter the Value of Side:\n");
scanf("%d",&side);
area=side*side;
printf("Value of area is :%d",area);
return 0;
}
Output:
Enter the Value of Side: 9 Value of area is:81