fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.  
  6. int a, b;
  7.  
  8. printf("Enter the value of a\n");
  9.  
  10. scanf("%d", &a);
  11.  
  12. printf("Enter the value of b\n");
  13.  
  14. scanf("%d", &b);
  15.  
  16. printf("The sum of a and b is %d", a+b);
  17.  
  18. return 0;
  19. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
Enter the value of a
Enter the value of b
The sum of a and b is -2064740513