回答編集履歴
1
ifの条件を追記
test
CHANGED
@@ -21,3 +21,17 @@
|
|
21
21
|
resultNumerator = resultNumerator % resultDenominator;
|
22
22
|
|
23
23
|
```
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
直後のif
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
> if (resultNumerator % resultDenominator == 0 && n != 0)
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
は,
|
36
|
+
|
37
|
+
`if( resultNumerator==0 )`で.
|