programming9
  • Flowcharts
  • Programs
      • Back
      • C Programs
      • C++ Programs
      • Java Programs
      • Python Codes
      • HTML Codes
      • Java Script Codes
      • SQL Codes
  • Tutorials
      • Back
      • Java Tutorials
      • Competitive Programming
      • Python Tutorials
      • C Programming
  • Blog
  • Login

C Program to Find Area of a Square

Details
Written by: RajaSekhar
Category: C Programs
  • basic c programs
  • cprogram
  • squarearea
#include<stdio.h>
#include<conio.h>
void main()
{
    float side,area;
    clrscr();

    printf("\n Enter the Length of Side : ");
    scanf("%f",&side);

    area = side * side ;

    printf("\n Area of Square : %f",area);
    getch();
}

 OUTPUT:

Enter the Length of Side : 4

Area of Square : 16.000000
Previous article: C Program to Find Biggest among Three Numbers Prev Next article: C Program to Find Area of Rectangle Next
  • C Program to Find Sum of Even Integers
  • C Program to Find Second Largest Number in an Array
  • C Program to Find Given Number is Perfect or Not
  • C Program to Find Area and Circumference of a circle.
  • C Program to Reverse Elements in Array
  • C Program to Find Radius and Circumference of a Circle
  • C Program to Design Lexical Analyzer
  • C Program to Find Smallest Element in the Array
  • C Program to Find the Prime Numbers
  • Swapping of Two Numbers Using Call By Reference in C
  • Decimal to Binary Conversion Using C
  • C Program to Find Factorial of a Number using While Loop
  • C program to Convert Number to Words
  • C Program to Find Address locations of Array Elements Using Pointers
  • C Program to Print Addresses of Variables
  • Privacy Policy
  • Cookie Policy
© programming9.com 2026
Back to top