rust-exercises/variables/src/main.rs

7 lines
124 B
Rust
Raw Normal View History

2024-10-12 12:03:54 +00:00
fn main() {
let mut x = 5;
println!("The value of x is: {x}");
x = 6;
println!("The value of x is: {x}");
}