First quiz and its related modules

This commit is contained in:
Nidhal Messaoudi
2023-02-26 17:28:24 +01:00
parent 36e66b545e
commit 52ed5dbcf9
22 changed files with 60 additions and 98 deletions

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: i32) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}