package net.doorstuck.test cout put:'Finds the sum of a set of numbers.'. sum = 0. while true do cout print:'Number (blank to finish): '. cout flush. v = 0. input = cin readLine. if input == '' then break end v = Int parse:input. if v == null then cout put:'{input} is not a valid number.'. continue end sum += v. end cout put:'Sum: {sum}'