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