functions 2

This commit is contained in:
Paul Scarrone 2023-02-20 13:12:21 -05:00
parent 8b53ee2f0d
commit 9f9aebebc8

View File

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