質問編集履歴
1
ループ文で回した場合の処理の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,6 +72,8 @@
|
|
72
72
|
|
73
73
|
```
|
74
74
|
|
75
|
+
var result = false
|
76
|
+
|
75
77
|
menus.forEach{ menu in
|
76
78
|
|
77
79
|
menu.price.forEach{ price in
|
@@ -80,7 +82,7 @@
|
|
80
82
|
|
81
83
|
if( price.yen == receipt.yen ){
|
82
84
|
|
83
|
-
ret
|
85
|
+
result = true
|
84
86
|
|
85
87
|
}
|
86
88
|
|
@@ -89,6 +91,8 @@
|
|
89
91
|
}
|
90
92
|
|
91
93
|
}
|
94
|
+
|
95
|
+
return result
|
92
96
|
|
93
97
|
```
|
94
98
|
|