To write a program to find area of a rectangle.
- Personal Computer
- C compiler
Get the input from the user
Get the ouput
Print the output
/*
Program to the area of a rectangle.
Developed by: G. Karthi
RegisterNumber: TSAI005
*/
#include<stdio.h>
int main()
{
float length, breadth, area;
scanf("%f%f", &length, &breadth);
area=length*breadth;
printf("Area=%0.2f",area);
return 0;
}
Thus the program for caluculating the area of the rectangle is written and output is verified.

