fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int ko;
  6.  
  7. printf("あなたは何歳ですか?\n");
  8.  
  9. ko=scanf("%d",&ko);
  10.  
  11. printf("あなたは%d才です\n",ko);
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0s 5316KB
stdin
23
stdout
あなたは何歳ですか?
あなたは1才です