Increment in loop

Report a typo

What is the output of the following piece of code?

var number = 1 
repeat(5) { 
    number++ 
} 

println(number)
Select one option from the list
___

Create a free account to access the full topic