recent

C Program To Calculate Area Of Square

C Program To Calculate Area Of Square

#include<stdio.h>

int main()
{
   int side, area;

   printf("Enter Length of Side : \n");
   scanf("%d", &side);  //input from user

   area = side * side;  //Area Calculate
   printf("Area of Square : %d\n", area);  //Print Output On screen
}
Powered by Blogger.