fork download
  1. #include <stdio.h>
  2. int main() {
  3. int a, b, sum;
  4. printf("Enter two numbers: ");
  5. scanf("%d %d", &a, &b);
  6. sum = a + b;
  7. printf("Sum = %d", sum);
  8. return 0;
  9. }
  10.  
  11.  
  12.  
Success #stdin #stdout 0s 5280KB
stdin
45
stdout
Enter two numbers: Sum = 32810