2020-01-14 15:06:43 -05:00
|
|
|
// variables5.rs
|
2022-07-11 07:43:41 -04:00
|
|
|
// Execute `rustlings hint variables5` or use the `hint` watch subcommand for a hint.
|
2020-01-14 15:06:43 -05:00
|
|
|
|
2023-02-27 15:33:28 -05:00
|
|
|
// I AM NOT DONE
|
|
|
|
|
2020-01-14 15:06:43 -05:00
|
|
|
fn main() {
|
2021-06-07 06:22:55 -04:00
|
|
|
let number = "T-H-R-E-E"; // don't change this line
|
2020-09-30 23:01:42 -04:00
|
|
|
println!("Spell a Number : {}", number);
|
2023-02-27 15:33:28 -05:00
|
|
|
number = 3; // don't rename this variable
|
2020-09-30 23:01:42 -04:00
|
|
|
println!("Number plus two is : {}", number + 2);
|
2020-01-14 15:06:43 -05:00
|
|
|
}
|