RosettaCodeData/Task/Loops-For-with-a-specified-step/Rust/loops-for-with-a-specified-step-2.rust
2023-07-01 13:44:08 -04:00

8 lines
141 B
Text

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