Garmin interview question

How do you change a for loop to a while loop?

Interview Answer

Anonymous

Jul 20, 2016

Add a counter variable and then increment the counter variable at the end of the while loop.

1