2020-01-15 03:06:43 +07:00
|
|
|
// variables5.rs
|
2021-04-25 17:07:06 +07:00
|
|
|
//
|
|
|
|
// Make me compile!
|
|
|
|
//
|
|
|
|
// If you need help, open the corresponding README.md or run: rustlings hint variables5
|
2020-01-15 03:06:43 +07:00
|
|
|
|
|
|
|
// I AM NOT DONE
|
|
|
|
|
|
|
|
fn main() {
|
2020-10-01 10:01:42 +07:00
|
|
|
let number = "T-H-R-E-E";
|
|
|
|
println!("Spell a Number : {}", number);
|
2020-01-15 03:06:43 +07:00
|
|
|
number = 3;
|
2020-10-01 10:01:42 +07:00
|
|
|
println!("Number plus two is : {}", number + 2);
|
2020-01-15 03:06:43 +07:00
|
|
|
}
|