🚧Variables: Exercise 2

This commit is contained in:
ynhhoJ 2022-04-16 11:37:10 +03:00
parent 5fcf6746ec
commit 0514868606

View File

@ -1,10 +1,10 @@
// variables2.rs // variables2.rs
// Make me compile! Execute the command `rustlings hint variables2` if you want a hint :) // Make me compile! Execute the command `rustlings hint variables2` if you want a hint :)
// I AM NOT DONE // I AM DONE
fn main() { fn main() {
let x; let x = 10;
if x == 10 { if x == 10 {
println!("Ten!"); println!("Ten!");
} else { } else {