1 2 3 4 5 6 7 8 9
void main() { int i; i = 0; println("This program prints 0 through 9."); while (i < 10) { println(i); i = i + 1; } }