fork download
  1. /* ここがコメントの行になります
  2. 複数行になってもOK
  3. プログラムの説明を書いておきます
  4. コメントは愛である
  5. Helloプログラム */
  6.  
  7. #include <stdio.h>
  8.  
  9. main()
  10. {
  11. int year;
  12. int month;
  13. int day;
  14.  
  15. year=2025;
  16. month=5;
  17. day=12;
  18.  
  19. printf("今日は%d年%d月%d日です\n",year,month,day);
  20.  
  21. }
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
今日は2025年5月12日です