Hi I’m very new to kotlin and I keep getting the error ” Expecting a top level declaration” when trying to code this:
var height1 = 170
var height2 = 180
if (height1 < height2){
println(“shorter”)
}
submitted by /u/coldfire334
[link] [comments]