no message

This commit is contained in:
a-kizaki
2026-10-09 12:33:29 +09:00
commit c4365a352f
71 changed files with 12139 additions and 0 deletions

12
Question06-for/Ex02.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
// 20回繰り返しを行うfor文を記述してください
for ($i = 0; $i < 20; $i++) {
// 今何回目の処理なのかを出力してください
echo $i + 1 . '回目';
// 奇数回のときには、「奇数」を出力してください
if (($i + 1) % 2 != 0) {
echo '奇数';
}
}