complete 02/[0,1,2]

This commit is contained in:
2025-02-19 15:50:18 +05:30
parent b9cb4c290a
commit 57475122a9
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
pub fn speed(start: u32, end: u32, time_elapsed: u32) -> u32 {
// TODO: define a variable named `distance` with the right value to get tests to pass
// Do you need to annotate the type of `distance`? Why or why not?
let distance = end - start;
// Don't change the line below
distance / time_elapsed
}