loop code based on the result of a comparison made on each loop
x = 1 while x < 100 puts x x = x * 2 end