Post a New Question

applied logic, math

posted by on .

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

  • applied logic, math - ,

    loop {
    for (i=2;i<=100;i+=2) {print i}

Answer This Question

First Name:
School Subject:

Related Questions

More Related Questions

Post a New Question