Write a program to calculate the area of a rectangle.

#include<stdio.h>

#include<conio.h>

int main()

{

int l , b; // l=length , b=breadth

float area;

printf(“Welcome to www.candcpp.com\n”);

printf(“\nEnter any length and breadth of rectangle: “);

scanf(“%d%d”,&l,&b);

area=l*b;

printf(“Area of rectangle is = %0.2f”,area);

getch();

return 0;

}