summaryrefslogtreecommitdiff
path: root/exercises/variables/variables2.rs
blob: 7774a8fb8334540ece9aa3602861072259a1a6c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// variables2.rs
// Make me compile! Execute the command `rustlings hint variables2` if you want a hint :)

// I AM NOT DONE

fn main() {
    let x;
    if x == 10 {
        println!("Ten!");
    } else {
        println!("Not ten!");
    }
}