11 lines
200 B
Rust
Raw Normal View History

2025-04-15 12:21:11 -04:00
fn main() {
// TODO: Change the line below to fix the compiler error.
let x: i32 = 42;
if x == 10 {
println!("x is ten!");
} else {
println!("x is not ten!");
}
}