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