var i: Double = 0.0 while (30.0 > i) { print(i) i = i + 1.0 }
Standard input is empty
prog.kt:2:1: error: expecting a top level declaration while (30.0 > i) { ^ prog.kt:2:7: error: expecting a top level declaration while (30.0 > i) { ^ prog.kt:2:8: error: expecting a top level declaration while (30.0 > i) { ^ prog.kt:2:13: error: expecting a top level declaration while (30.0 > i) { ^ prog.kt:2:15: error: expecting a top level declaration while (30.0 > i) { ^ prog.kt:2:16: error: expecting a top level declaration while (30.0 > i) { ^ prog.kt:2:18: error: expecting a top level declaration while (30.0 > i) { ^ prog.kt:2:18: error: function declaration must have a name while (30.0 > i) { ^
Standard output is empty