program:
#include<stdio.h>
int main()
{
int length, breadth, area;
printf("enter length of rectangle;\n");
scanf("%d",&length);
printf("enter breadth of rectangle;\n");
scanf("%d",&breadth);
area=length*breadth;
printf("area of rectangle is:%d\n",area);
return 0;
}
output:
Related Links: