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 Rectangle

Details
Written by: RajaSekhar
Category: C Programs
  • basic c programs

Area of a rectangle can be calculated using length * breadth

#include<stdio.h>

int main()
{
    float length,breadth;
    float area;
    clrscr();

    printf(" Enter the Length of a Rectangle : ");
    scanf("%f",&length);

    printf("\n Enter the Breadth of a Rectangle : ");
    scanf("%f",&breadth);

    area = length * breadth;

    printf("\n Area of Rectangle is : %f",area);
    return 0;
}

 OUTPUT:

Enter the Length of Rectangle : 3.2

Enter the Breadth of Rectangle : 4

Area of Rectangle : 12.800000
Previous article: C Program to Find Area of a Square Prev Next article: C Program to find Area of a Circle Next
  • C Program for Sum of Squares of Numbers from 1 to n
  • C Program to Implement RADIX SORT
  • C Program to Print Pyramid of Numbers
  • Implementation of Stack Using Array in C
  • C Program to Simulate PRIORITY CPU Scheduling Algorithm
  • C Program for Monthly Bill of a Newspaper
  • C Program to Find Reverse of a Number using Recursion
  • C Program to Evaluate POSTFIX Expression Using Stack
  • C Program to Swap Two Numbers without using Third Variable
  • C Program to Find String Length with out using Function
  • Find Two's Complement of a Binary Number Using C programming
  • C Program to Implement Structure with Array
  • C Program for Circumference of a Circle
  • C Program for Optimal Page Replacement Algorithm
  • C Program to convert Celsius to Fahrenheit
  • Privacy Policy
  • Cookie Policy
© programming9.com 2026
Back to top