summaryrefslogtreecommitdiff
path: root/exercises/functions/functions3.rs
blob: e3c1bf732ea62e4cc31af1900384839eacefe9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// functions3.rs
// Make me compile! Execute `rustlings hint functions3` for hints :)

// I AM NOT DONE

fn main() {
    call_me();
}

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