Computer Science, asked by askandanswer, 1 year ago

C programming to display the area of a rectangle

Answers

Answered by tejasmba
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( );
}



Similar questions