Ex.8 完了
This commit is contained in:
@@ -7,10 +7,14 @@
|
||||
*
|
||||
* 100を返すメソッド
|
||||
*/
|
||||
function number()
|
||||
function number($receive)
|
||||
{
|
||||
return 100;
|
||||
$msg = 100;
|
||||
return $msg;
|
||||
}
|
||||
|
||||
// TODO: 変数receiveを宣言し、関数numberを実行した結果を代入してください
|
||||
// TODO: 変数receiveを出力してください
|
||||
|
||||
$result = number ("100");
|
||||
echo $result ;
|
||||
Reference in New Issue
Block a user