include::../description.adoc[]

== Noncompliant Code Example

----
for (int i = 0; i < 10; i++) {
  ...
  i = i - 1; // Noncompliant; counter updated in the body of the loop
  ...
} 
----

== Compliant Solution

----
for (int i = 0; i < 10; i++) {...} 
----

ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]
