rustlings/variables/variables2.rs

11 lines
138 B
Rust
Raw Normal View History

2015-09-17 00:19:24 +00:00
// Make me compile!
fn main() {
let x;
if x == 10 {
println!("Ten!");
} else {
println!("Not ten!");
}
}