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

16
Question04-while/Ex01.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
// 変数numを宣言し、2で初期化してください
$num = 2;
// 条件式に、変数numが100を超えた場合にfalseになるような条件を記述してください
while ($num <= 100) {
// 変数numを2乗した数を変数numに代入してください
$num *= $num;
// 変数numの値を出力してください
echo $num;
}
echo "プログラムを終了します";