Write a program to find area of square
4
March 10, 2019
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();
}
Tags