Write a program to calculate the area of rectangle.
#include<stdio.h>
#include<conio.h>
void main()
{
int l,b,area;
clrscr();
printf(“Enter the length of rectangle:”);
scanf(“%d”,&l);
printf(“\nEnter the breadth of rectangle:”);
scanf(“%d”,&b);
area= l*b;
printf(“%d”,area);
getch();
}

0 Comments
Have any query? Want any type of module?
Please comment it down and let me know.