The While loops are changed so that an assignment is not done before the while loop