Ex.8 完了

This commit is contained in:
2026-10-09 14:53:26 +09:00
parent 0302be2355
commit 85ee781d42

View File

@@ -7,10 +7,14 @@
* *
* 100を返すメソッド * 100を返すメソッド
*/ */
function number() function number($receive)
{ {
return 100; $msg = 100;
return $msg;
} }
// TODO: 変数receiveを宣言し、関数numberを実行した結果を代入してください // TODO: 変数receiveを宣言し、関数numberを実行した結果を代入してください
// TODO: 変数receiveを出力してください // TODO: 変数receiveを出力してください
$result = number ("100");
echo $result ;