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 5 Subjects and Percentage
  • C Program to Implement RADIX SORT
  • C program for Fibonacci Series using do-while Loop
  • C Program to Print Reverse of a String without strrev() function
  • C Program to Solve Tower of Hanoi Problem Using Recursive and Non-Recursive
  • C Program for String Concatenation without using strcat()
  • C Program to Find Roots of a Quadratic Equation
  • C Program to Find Prime Factors of a Given Positive Number
  • C Program for Monthly Bill of a Newspaper
  • Merge Sort Program in C
  • Swapping of Two Numbers Using Call By Reference in C
  • C Program for Optimal Page Replacement Algorithm
  • C Program to Implement STACK Operations Using Pointers
  • C Program to Solve Sum of Series 1-x2/2! +x4/4!-x6/6!+x8/8!-x10/10!
  • C Program to Print Hello World
  • Privacy Policy
  • Cookie Policy
© programming9.com 2026
Back to top