fn main() {
    let mut x = 10;

    while x > 0 && x % 2 == 0 {
        println!("x is even and positive: {}", x);
        x -= 2;
    }
}