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 for Monthly Bill of a Newspaper
  • C Program to Implement Circular Linked List
  • C Program to Print Hello World
  • C Program to Print Pascal Traingle
  • C Program to CONCATENATE Two Strings using strcat()
  • C Program to Find Prime Factors of a Given Positive Number
  • C program to Implement BREAK Statement
  • C Program to Find Sum of Odd Integers
  • C Program to Find Sum of 5 Subjects and Percentage
  • C Program to Find Roots of a Quadratic Equation
  • C Program for String Concatenation without using strcat()
  • C Program for String Comparison without using Built in Function
  • C Program for Addition of Two Numbers
  • C Program for Sum of Squares of Numbers from 1 to n
  • Implementation of Stack Using Array in C
  • Privacy Policy
  • Cookie Policy
© programming9.com 2025
Back to top