# C Program to Find Area of Rectangle

In this tutorial you will learn about the C Program to Find Area of Rectangle and its application with practical example.

## C Program to Find Area of a Rectangle

In this tutorial, we will learn to create a C program that will Find the Area of a Rectangle in C programming.

• ?
• ## Prerequisites

Before starting with this tutorial, we assume that you are the best aware of the following C programming topics:

• Operators in C Programming.
• Basic Input and Output function in C Programming.
• Basic C programming.
• Arithmetic operations in C programming.

# What is a rectangle?

The rectangle is four sides geometrical shape with pair of two sides parallel and of the same size as each other. The Rectangle has the length and the width in it.

## Program description:-

In this tutorial, we will create a program, that will find the Area of the Rectangle. we will First, take the length and the width of the Rectangle from the user. Then we will calculate the area of the Rectangle using arithmetic expressions / the formulae for the area of the Rectangle. At last, we will print the Area of the Rectangle.

## Output:-

In the above program, we have first initialized the required variable.

•  recwth = it will hold the input value for the base of the Rectangle.
•  reclgth = it will hold the input value for the height of the Rectangle.
•  recar= it will hold the value of the area of the Rectangle.

Taking the input width and the length of the Rectangle.

Calculating the area of the Rectangle.

Printing the area of the Rectangle.

In this tutorial we have learn about the C Program to Find Area of Rectangle and its application with practical example. I hope you will like this tutorial.