Exercise 8 · Chapter: VariablesOptional+50 XP
Update Score
Start with a mutable variable score set to 0. Print it, then change it to 100 and print again.
Your output should be:
Score: 0 Score: 100
Hint: Remember to use let mut so you can change the value later!
rust
fn main() {
}
Output
Run your code to see the output here.