c
c copied to clipboard
C programming
#include <stdio.h>
int main(){ // int length = 3; // int breadth = 6; int length, breadth; printf("Enter length\n"); scanf("%d", &length);
printf("Enter breadth\n");
scanf("%d", &breadth);
printf("The area of this rectangle is %d", length*breadth);
return 0;
}
18
The area of this rectangle is 18
area of rectangle is 18
18