質問編集履歴

1

コードを編集しました

2017/11/14 07:33

投稿

HappyChild6961
HappyChild6961

スコア14

test CHANGED
File without changes
test CHANGED
@@ -10,45 +10,31 @@
10
10
 
11
11
  ```ここに言語を入力
12
12
 
13
- <?php
13
+ ?php
14
+
15
+ $x = "";
16
+
17
+ $y = "";
14
18
 
15
19
 
16
20
 
17
- $input = fgets(STDIN);
21
+ $x*$y = $result
18
22
 
19
- function calculation($x,$y) {
23
+ echo = $result;
20
-
21
- $x =
22
-
23
- $y =
24
24
 
25
25
 
26
26
 
27
- $x*$y =
27
+ if okorno($result>=10) {
28
28
 
29
- }
29
+ echo "OK";
30
30
 
31
31
 
32
32
 
33
- echo =
33
+ } else ($result<=9){
34
34
 
35
+ echo "NO";
35
36
 
36
-
37
- if (<=10) {
38
-
39
- echo = OK
40
-
41
-
42
-
43
- } else (>=9){
44
-
45
- echo = NG
46
-
47
- }
37
+ }
48
-
49
-
50
-
51
- echo =
52
38
 
53
39
 
54
40