1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2024-12-20 23:48:09 -05:00
rustlings/exercises/01_variables/variables5.rs
2024-06-14 13:32:37 +02:00

8 lines
277 B
Rust

fn main() {
let number = "T-H-R-E-E"; // Don't change this line
println!("Spell a number: {}", number);
// TODO: Fix the compiler error by changing the line below without renaming the variable.
number = 3;
println!("Number plus two is: {}", number + 2);
}