mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-12 11:14:55 +02:00
2ec0bdfd99
closes #375
12 lines
284 B
Rust
12 lines
284 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";
|
|
println!("Spell a Number : {}", number);
|
|
number = 3;
|
|
println!("Number plus two is : {}", number + 2);
|
|
}
|