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

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