While/ fencepost assignment