summaryrefslogtreecommitdiff
path: root/exercises/variables/variables2.rs
blob: 641aeb8e096cc1587972625f09f99dc6efe797b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// variables2.rs
// Execute `rustlings hint variables2` or use the `hint` watch subcommand for a hint.

// I AM NOT DONE

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