01 #include<stdio.h>
02
03 int main()
04 {
05 int length, breadth, area;
06
07 printf("nEnter the Length of Rectangle : ");
08 scanf("%d", &length);
09
10 printf("nEnter the Breadth of Rectangle : ");
11 scanf("%d", &breadth);
12
13 area = length * breadth;
14 printf("nArea of Rectangle : %d", area);
15 return 0;
16 }
Output :
Enter the Length of Rectangle : 6
Enter the Breadth of Rectangle : 4
Area of Rectangle : 24