rustlings/exercises/01_variables/variables5.rs

9 lines
281 B
Rust
Raw Normal View History

fn main() {
2024-05-21 00:47:57 +01:00
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 the variable.
number = 3;
println!("Number plus two is: {}", number + 2);
}