Loading lesson…
Level 1 · Apprentice0 XP
Variables, mutability, types, functions, control flow and expressions.
Step 1 / 6
Problemlet x = 5; x = 6; does not compile. A function's last line has no semicolon and no return. Integer types are i32, u64, usize.
← → step
Before this: Why Rust, and where it fits
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Write a CLI that reads numbers from the command line arguments, prints their average with Option<f64>, and grades each with match on ranges. Fix every compiler error by reading the message.