Saturday 5 October 2013

Calculate Area of a Square using C

#include<stdio.h>
main()
{
int side,area;
printf("\nEnter the Length of Side : ");
scanf("%d",&side);
area = side * side ;
printf("\nArea of Square : %d\n",area);
}

No comments:

Post a Comment