In for loop the current implementation of continue does not increment the incrementors and is behaving like inside while loop.