fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. // Write C code here
  5. int a ;
  6. int b ;
  7. scanf("%d", a );
  8. scanf("%d", b);
  9. printf(" the value of a and b is %d,%d", a , b);
  10. printf(" the area of rect is %d", a*b);
  11.  
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5292KB
stdin
#include <stdio.h>

int main() {
    // Write C code here
    int a ;
    int b ;
    scanf("%d", a );
    scanf("%d", b);
    printf(" the value of a and b is %d,%d", a , b);
    printf(" the area of rect is %d", a*b);
    

    return 0;
}
stdout
 the value of a and b is 0,0 the area of rect is 0