#include<stdio.h>
#include<conio.h>
int Area(int l,int b)
{
int a;
a=l*b;
return a;
}
int main()
{
int length,breadth ,A;
printf("Enter length and breadth of the Rectangle\n");
scanf("%d%d",&length,&breadth );
A=Area(length,breadth );
printf("Area of the Rectangle is: %d",A);
getch();
return 0;
}
Enter length and breadth of the Rectangle
5
6
The area of the Rectangle is: 30
--------------------------------
Process exited after 8.435 seconds with return value 0
Press any key to continue . . .