rustlings/exercises/variables/variables3.rs
2024-03-08 13:33:04 +01:00

14 lines
229 B
Rust

// variables3.rs
//
// Execute `rustlings hint variables3` or use the `hint` watch subcommand for a
// hint.
fn main() {
let mut x: i32;
x = 10;
println!("Number {}", x);
x = 11;
println!("Number {}", x);
}