rustlings/exercises/01_variables/variables3.rs
2024-01-31 10:09:11 -05:00

12 lines
221 B
Rust

// variables3.rs
//
// Execute `rustlings hint variables3` or use the `hint` watch subcommand for a
// hint.
fn main() {
let x: i32; //giving it a type
x = 3; //assigning a value
println!("Number {}", x);
}