fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int a, b, c;
  6. scanf("%d %d %d", &a, &b, &c);
  7. int k=a+b;
  8. k=k+c;
  9. printf("%d", k);
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5256KB
stdin
2 3 5
stdout
10