RosettaCodeData/Task/Loops-For-with-a-specified-step/Rust/loops-for-with-a-specified-step-2.rs
2024-10-16 18:07:41 -07:00

8 lines
141 B
Rust

fn main() {
let mut i = 2;
while i <= 8 {
print!("{}, ", i);
i += 2;
}
println!("who do we appreciate?!");
}