1 2 3 4 5 6
fn main() { let i = 0, n = 0; while (i < 4) { n = n + i; i++; } put_n(n); put_c(10); return 0; }