Write a program to find area of square


You can learn c language if you know basics i have posted some blogs to learn basics
a program for finding area of a squareof in c language


#include<stdio.h>
#include<conio.h>
void main()
{
int a,area;
clrcr();
printf("enter the side of the square");
scanf("%d",&a);
area=a*a;
printf("area of square having side %d is = %d"a,area);
getch();
}

this program is written by shubham yadav if you have any dout than ask the quetion in the comment box i hope you undertand all the key words and i also hope that i will answer all your question

some importants link

five features of c language



a program for finding area of square






#include<stdio.h>
#include<conio.h>
void main()
{
int side,area;
clscr();
printf("enter the side of square ");
scanf("%d",side);
area=side*side;
printf("area of square=%d",area);
getch();
}

Post a Comment

4 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Shubham said…
yes this code is working
Anonymous said…
You are best please upload more
Kakasit said…
Why you stopped posting