Anonymous user
Loops/Increment loop index within loop body: Difference between revisions
Loops/Increment loop index within loop body (view source)
Revision as of 07:45, 22 March 2019
, 5 years agoupdated the task's requirements to be a more clearer/accurate (courtesy N. G.).
m (updated the task's requirements to be a more clearer/accurate (courtesy N. G.).) |
|||
Line 19:
::* (at iteration time) increments the index by unity
::* if the index is prime:
::::* displays the
::::* increments the index such that the new index is now the (old) index plus that prime
::* terminates the loop when '''42''' primes are shown
|