fork download
  1. #include<stdio.h>
  2. int main(){
  3.  
  4. int length = 7;
  5. int breadth = 9;
  6.  
  7. printf("Enter length\n");
  8. scanf("%d" , &length);
  9.  
  10. printf("Enter breadth\n");
  11. scanf("%d" , &breadth);
  12.  
  13. printf(" the area of this rectangal is %d" , length*breadth);
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5324KB
stdin
8
stdout
Enter length
Enter breadth
 the area of this rectangal is 72