Give a value a name
A variable is a name for a value. Use let, a name, =, and the value. Then use the name wherever you need the value.
let age = 30;println!("{age}");A variable is a name for a value. Use let, a name, =, and the value. Then use the name wherever you need the value.
let age = 30;println!("{age}");