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