fn main() { for i in 0..5 { if i % 2 == 0 { println!("{} is even", i); } else { println!("{} is odd", i); } } }