Commit 1c3fc7da authored by Justin Noel's avatar Justin Noel
Browse files

Test fonction récursive : ok

parent b017ce71
fn compteur(v : i32) {
if (v > 0) {
print(v);
compteur(v-1);
}
}
fn main() {
compteur(10);
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment