Add a line to your loop before your print statement. Use the next keyword so that you skip to the next iteration if the number i is odd.
Use the example above for help, but remember that the example above skips even numbers.
So heres the example it gave.....for i in 1..5
next if i % 2 == 0
Here was my answer....i = 18
i -= 1
next if i % 3 == 0
break if i == 0
Its not skipping the odd numbers can anyone help me?