no message
This commit is contained in:
11
Question02-Calculation/Ex03.php
Normal file
11
Question02-Calculation/Ex03.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$num1 = 50;
|
||||
print $num1;
|
||||
|
||||
// TODO: 変数num2に140が入るようにしてください
|
||||
// 括弧と四則演算を使って計算してください....どうすれば140という数値になるか考えてみましょう
|
||||
$num2 = (20 + $num1) * 2;
|
||||
|
||||
// 以下のプログラムで140が表示されるようにしてください
|
||||
print $num2; // ※※ この行は修正しないでください
|
||||
Reference in New Issue
Block a user