rustlings/exercises/variables/variables2.rs

17 lines
267 B
Rust

// variables2.rs
//
// Make me compile!
//
// If you need help, open the corresponding README.md or run: rustlings hint variables2
// I AM NOT DONE
fn main() {
let x;
if x == 10 {
println!("Ten!");
} else {
println!("Not ten!");
}
}