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
Post a Comment
Please do not enter any spam link in the comment box.