11 lines
200 B
Rust
11 lines
200 B
Rust
|
|
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!");
|
||
|
|
}
|
||
|
|
}
|