rustlings/exercises/variables/variables2.rs
Zachary Luther 7565a5e763 started
2022-04-15 17:02:30 -04:00

12 lines
230 B
Rust

// variables2.rs
// Make me compile! Execute the command `rustlings hint variables2` if you want a hint :)
fn main() {
let x = 10;
if x == 10 {
println!("Ten!");
} else {
println!("Not ten!");
}
}