Scala-while循环
var i = 6 while (i > 0) { i -= 1 printf("i is %d ",i) }
do while
var i =1 do { i += 1 println(i) }while (i<5)