progress variables

This commit is contained in:
2026-07-09 15:06:07 +02:00
parent 2b8273fd55
commit 8f249751ea
6 changed files with 7 additions and 5 deletions
+3
View File
@@ -1,4 +1,7 @@
// TODO: Add some function with the name `call_me` without arguments or a return value.
fn call_me() {
}
fn main() {
call_me(); // Don't change this line
+1 -1
View File
@@ -1,5 +1,5 @@
// TODO: Add the missing type of the argument `num` after the colon `:`.
fn call_me(num:) {
fn call_me(num:i32) {
for i in 0..num {
println!("Ring! Call number {}", i + 1);
}
+1 -1
View File
@@ -6,5 +6,5 @@ fn call_me(num: u8) {
fn main() {
// TODO: Fix the function call.
call_me();
call_me(32);
}