edlang/lib/edlang_driver/tests/programs/while.ed
2024-03-13 12:24:40 +01:00

10 lines
118 B
Rust

pub fn main(argc: i64) -> i64 {
let mut a: i64 = 0;
while a < 10 {
a = a + 1;
}
return a;
}