Merge pull request #9 from akshitgautam42/Ex-10

Ex 10
This commit is contained in:
Akshit Gautam 2023-11-11 20:21:19 +05:30 committed by GitHub
commit 2a1c5989ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,15 @@
// 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);
}