Asked by mina

writing a program using loop structure, need the equation to produce all even numbers from 2-100 to print out each time I go through the loop

Answers

Answered by Steve
loop {
for (i=2;i<=100;i+=2) {print i}
}
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions