chalk/programs/basic_while.chalk

9 lines
108 B
Plaintext

fun main(): u0 {
var a = 5;
var b = 0;
while(a) {
b = b + 2;
a = a - 1;
}
}