C programming to display the area of a rectangle
Answers
Answered by
0
/* Area of a rectangle */
#include <stdio.h>
#<include<conio.h>
main( )
{
int l, b , area;
clrscr ( );
printf ("\n Enter Length and Breadth of Rectangle ");
scanf ("%d %d", &l, &b);
Area of a rectangle = l * b;
printf (\nArea of a Rectangle = %d", area);
getch( );
}
#include <stdio.h>
#<include<conio.h>
main( )
{
int l, b , area;
clrscr ( );
printf ("\n Enter Length and Breadth of Rectangle ");
scanf ("%d %d", &l, &b);
Area of a rectangle = l * b;
printf (\nArea of a Rectangle = %d", area);
getch( );
}
Similar questions
Chemistry,
8 months ago
Computer Science,
8 months ago
Science,
8 months ago
English,
1 year ago
English,
1 year ago
English,
1 year ago
CBSE BOARD X,
1 year ago
CBSE BOARD X,
1 year ago