-- Chapter 18 example: break out of a while-true loop.

local n = 1
while true do
    if n * n > 100 then
        break
    end
    n = n + 1
end
print("First number whose square is over 100 is " .. n)
