fork download
  1. #include <stdio.h>
  2. int main( )
  3. {
  4. int a, b, c;
  5. printf("3개의 값을 입력하세요:");
  6. scanf("%d8,%d6,%d4", &a,&b,&c);
  7. printf("입력한 3개의 값의 합은 %d 입니다." ,a+b+c);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5296KB
stdin
Standard input is empty
stdout
3개의 값을 입력하세요:입력한 3개의 값의 합은 516067210 입니다.