Skip to content

Commit 47cab16

Browse files
committed
Update chained_comparisons.md
1 parent 5ed23fe commit 47cab16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integers/chained_comparisons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ in the middle of both operators like so.
88
0 < x < 5
99
```
1010

11-
This does not work in Java. In order to "chain" comparisons like this, you should combine
11+
This does not work in Java. In order to "chain" comparisons like this, you have to combine
1212
the results of comparisons using the `&&` operator.
1313

1414
```java,no_run

0 commit comments

Comments
 (0)