tweaks: use a while loop when the end point is not known in advance
It is easier to see the order of steps and what the terminating condition is.
Showing
+7 -6
Please register or sign in to comment
It is easier to see the order of steps and what the terminating condition is.