Area of Square

Code for area of square


#include<stdio.h>
#include<conio.h>
void main()
{
int a,s;
printf("Enter side of square");
scanf("%d",&s);
a=s*s;
printf("Area=%d",a);
getch();
}


Output




Comments

Popular posts from this blog

Code for pattern 6

Code to check leap year