x = 1; y = 100; while ( x <= y) if (x == y/2) print "the middle iteration"; endif x = x + 1; endwhile