Initial commit
This commit is contained in:
10
exercises/01_variables/variables2.rs
Normal file
10
exercises/01_variables/variables2.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
fn main() {
|
||||
// TODO: Change the line below to fix the compiler error.
|
||||
let x = 0;
|
||||
|
||||
if x == 10 {
|
||||
println!("x is ten!");
|
||||
} else {
|
||||
println!("x is not ten!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user