Hi 2 everyone,
I have been working on this for some time now and have been stuck in the same spot. I have figured out how to get the answer I wanted with 2 while loops but now I'm trying to convert them to a for and do loop. If any one could explain it to me I would really appreciate it. These are the while loops I would like to try to convert to the for and do loops.
A while loop into a do loop is harder, because a while loop can execute 0 times, whereas a do loop must execute at least once.
So you end up with a messy