rustlings/exercises/variables/variables2.rs
Christopher Girvin b8d4133328 variables done
2022-05-14 16:21:32 -04:00

13 lines
235 B
Rust

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