edlang/programs/while.ed

12 lines
159 B
Plaintext
Raw Normal View History

2024-02-14 09:23:39 +00:00
mod Main {
pub fn main(argc: i64) -> i64 {
let mut a: i64 = 0;
while a < 10 {
a = a + 1;
}
return a;
}
}