/*
Developed by
deepak anand.
For more
programs,
visit
programming-stuff-4-u.blogspot.in
*/
#include<stdio.h>
#include<conio.h>
void
main()
{
int
length,breadth,side;
clrscr(); // Clear Screen
printf("nEnter
the Length of Rectangle : ");
scanf("%d",&length);
printf("nEnter
the Breadth of Rectangle : ");
scanf("%d",&breadth);
area
= length * breadth;
printf("nArea
of Rectangle : %d",area);
getch();
}
Output :
Enter
the Length of Rectangle :3
Enter
the Breadth of Rectangle :4
Area
of Rectangle : 12
No comments:
Post a Comment