fork download
  1. /*
  2. Description: This program is to to calculate a + b.
  3. Author: Liutong Xu
  4. Date: 2016/10/24
  5. */
  6.  
  7. #include <stdio.h>
  8.  
  9. int main()
  10. {
  11. int a,b;
  12.  
  13. scanf("%d%d",&a,&b);
  14. printf("The sum of %d and %d are %d\n",a,b,a+b);
  15.  
  16. return 0;
  17. }
Success #stdin #stdout 0s 2172KB
stdin
123 307
stdout
The sum of 123 and 307 are 430