32 or less

Report a typo

What would be the output of program below?

var set = Set(1)

while set.sum < 32 do set = set + (set.max + 1)

println(set.size)
Enter a number
___

Create a free account to access the full topic