2024-02-27 20:29:30 +00:00

17 lines
258 B
Rust

// functions3.rs
//
// Execute `rustlings hint functions3` or use the `hint` watch subcommand for a
// hint.
// I AM DONE
fn main() {
call_me(0);
}
fn call_me(num: u32) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}
}