rustlings/exercises/01_variables/variables2.rs
2024-04-17 23:34:27 +02:00

9 lines
127 B
Rust

fn main() {
let x;
if x == 10 {
println!("x is ten!");
} else {
println!("x is not ten!");
}
}