1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-11-29 22:47:43 +02:00

feat: Add variables5.rs exercise

closes #260
This commit is contained in:
Torben Jonas
2020-01-14 21:06:43 +01:00
parent 19a93428b3
commit 0c73609e6f
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
// variables5.rs
// Make me compile! Execute the command `rustlings hint variables5` if you want a hint :)
// I AM NOT DONE
fn main() {
let number = "3";
println!("Number {}", number);
number = 3;
println!("Number {}", number);
}