Write a c program to calculate the area of a square

calculate the area of a square

#include<stdio.h>
#include<conio.h>
main()
{
float a,z=0;
printf("enter length of side of squair");
scanf("%f",&a);
z=(a*a);
printf("the area of a squair=%f",z);
getch();
}

Post a Comment

0 Comments