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 Copy a String with out using strcpy() Built in Function
  • C Program to Find Simple Interest
  • C Program to Check Whether a Number is PALINDROME or Not
  • C Program to Swap Two Numbers without using Third Variable
  • C Program to Design Lexical Analyzer
  • C Program to Calculate Sum of Even Values in an Array
  • C Program for Addition of Two Numbers
  • C Program to Count Total Number of Digits in a Number
  • Find Two's Complement of a Binary Number Using C programming
  • C Program to Sort an Array using SELECTION SORT
  • C Program to Find Area of a Triangle
  • C Program to Perform Arithmetic Operations Using Switch
  • C Program to Find Area of a Square
  • C Program to Print Prime Numbers upto a given Number
  • C Program for Swapping of Two Numbers Without Using Third Variable
  • Privacy Policy
  • Cookie Policy
© programming9.com 2026
Back to top