While loop questions.

If the number of steps in each loop is different, you need to actually create 3 while loops - one for all common values, 1 if loop one is longer, and the third is loop 2 is longer. Of course, you only run two of the 3 loops.