डाउनलोड पी.डी.एफ. ई-बुक्स
C - Area Of Square

विवरण :

Formula

Area = side(s)2

Enter the Length of Square :
Area of Square:

सोर्स कोड :

#include <stdio.h>

int main() {
int sqr, area;

printf("Enter the Length of square : ");
scanf("%d", &sqr);

area = sqr * sqr;
printf("\nArea of Square : %d", area);

return 0;
}

आउटपुट :

Enter the Length of square : 4
Area of Square : 16