mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
310 B
12 lines
310 B
// 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);
|
|
}
|