Jan-04-2017, 01:58 AM
One thing that was not mentioned. Your return statement is part of the loop.
That means you will never see a second iteration, thus negating the purpose of the loop
That means you will never see a second iteration, thus negating the purpose of the loop