summaryrefslogtreecommitdiff
path: root/exercises/01_variables/variables2.rs
blob: e2a360351afc3050cc1ac8b19308a0bf1ae59e13 (plain)
1
2
3
4
5
6
7
8
9
10
fn main() {
    // TODO: Change the line below to fix the compiler error.
    let x;

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