my solution. public static void main(String[] args) throws IOException { for (int iterator = 1; iterator <= 100; iterator++) // Check if the number is even if (iterator % 2 == 0) { // Print the even number System.out.println(iterator); } }