class='r-in'><span class='va'>iter</span> <span class='op'>&lt;-</span> <span class='fl'>0</span></span>
<span class='r-in'></span>
<span class='r-in'><span class='co'># iterate until all positive</span></span>
<span class='r-in'><span class='kw'>while</span><span class='op'>(</span><span class='va'>check_zeros</span><span class='op'>)</span><span class='op'>{</span></span>
<span class='r-in'>  <span class='va'>iter</span> <span class='op'>&lt;-</span> <span class='va'>iter</span> <span class='op'>+</span> 