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 Calculate Sum of Odd Values in an Array
  • C Program to Print ASCII values of Characters
  • C Program to Solve Tower of Hanoi Problem Using Recursive and Non-Recursive
  • C Program for Implementation of Predictive Parser
  • C Program for Matrix Multiplication
  • C Program to Implement BINARY SEARCH
  • C Program for Optimal Page Replacement Algorithm
  • C Program Example to Initialize Structure Variable
  • C Program for Arithmetic Operations using Switch Statement
  • C Program for Multiplication Table using Goto Statement
  • C Program to Implement RADIX SORT
  • C Program for Monthly Bill of a Newspaper
  • C Program to INSERT a Sub-String in Main String at Given Position
  • C Program to Implement SHELL SORT
  • C Program to Find Biggest among Three Numbers
  • Privacy Policy
  • Cookie Policy
© programming9.com 2025
Back to top