#include<stdio.h>
#include<conio.h>
void main()
{
int a,s; //a is area and s is side.
clrscr();
printf("Enter the side:\n");
scanf("%d",&s);
a=s*s;
printf("Area of square is %d",a);
getch();
}
IN OUR NEXT POST WE ARE GOING TO LEARN ABOUT ARMSTRONG NUMBERS.
No comments:
Post a Comment