mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-24 11:58:08 -05:00
48ffcbd2c4
let mut number = 3; can lead to a correct answer, so the comment helps to direct the users to the intended answer.
11 lines
310 B
Rust
11 lines
310 B
Rust
// variables5.rs
|
|
// Make me compile! Execute the command `rustlings hint variables5` if you want a hint :)
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
let number = "T-H-R-E-E"; // don't change this line
|
|
println!("Spell a Number : {}", number);
|
|
number = 3;
|
|
println!("Number plus two is : {}", number + 2);
|
|
}
|