C Program to Calculate Area of Square
C Programming Language Fundamentals of C Language (Article) Fundamentals of C Language (Program)
2076Program:
#include"stdio.h" int main() { int side, area; printf("\nEnter the Length of Side : \n"); scanf("%d", &side); area = side * side; printf("\nArea of Square : %d \n\n", area); return (0); }
Output:
Enter the Length of Side : 6 Area of Square : 36 Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.