fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a;
  5. int b;
  6. int sum;
  7. sum= a + b;
  8. printf("please enter 1 number");
  9. scanf("%d", &a);
  10. printf("please enter 2 number");
  11. scanf("%d", &b);
  12. printf("the sum of the will be %d", sum);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
please enter 1 numberplease enter 2 numberthe sum of the will be 0