2024-07-08 12:39:18 +08:00

11 lines
200 B
Rust

fn main() {
// TODO: Change the line below to fix the compiler error.
let x: i32 = 10;
if x == 10 {
println!("x is ten!");
} else {
println!("x is not ten!");
}
}