...
| Anchor | ||||
|---|---|---|---|---|
|
Compliant Solution (Relational
...
Operators)
Using the relational operator <= instead of an equality operator guarantees loop termination.
...
| Anchor | ||||
|---|---|---|---|---|
|
Compliant Solution (Relational
...
Operators)
Again, using a relational operator instead of equivalence guarantees loop termination. If begin >= end the loop never executes its body.
...