rustlings/exercises/02_functions/functions2.rs
2024-04-17 23:34:27 +02:00

10 lines
129 B
Rust

fn main() {
call_me(3);
}
fn call_me(num:) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}
}