Scala / Basics
while-loop.scala
var a = 0 while (a < 10) { // do something a += 1 } println(a) // 10
View on GitHub