This commit is contained in:
2021-07-16 20:45:55 -05:00
parent 322bf1723f
commit 257b1e3b9e

View File

@@ -1,6 +1,13 @@
fn main() { fn main() {
let mut x = 5; // let mut x = 5;
println!("The value of x is: {}", x); // println!("The value of x is: {}", x);
x = 6; // x = 6;
// println!("The value of x is: {}", x);
let x = 5;
let x = x + 1;
let x = x * 2;
println!("The value of x is: {}", x); println!("The value of x is: {}", x);
} }