#include<stdio.h>
#include<conio.h>
void main()
{ float a,area;
clrscr();
printf("enter side of square");
scanf("%f",&a);
area=a*a;
printf("area of square: %f",area);
getch();
}
#include<conio.h>
void main()
{ float a,area;
clrscr();
printf("enter side of square");
scanf("%f",&a);
area=a*a;
printf("area of square: %f",area);
getch();
}
No comments:
Post a Comment