#include<stdio.h>
int main()
{
int l,b;
printf("Enter the length of the rectangle:");
scanf("%d",&l);
printf("Enter the breadth of the rectangle:");
scanf("%d",&b);
printf("\n\t The area of rectangle is %d",l*b);
getch();
}
#include<stdio.h>
int main()
{
int l,b;
printf("Enter the length of the rectangle:");
scanf("%d",&l);
printf("Enter the breadth of the rectangle:");
scanf("%d",&b);
printf("\n\t The area of rectangle is %d",l*b);
getch();
}
No comments:
Post a Comment