I am trying to get it to do give me the product of even numbers between 5 and 20, but I can only get it to do the odd numbers. I am new and know this should be easy, but I cannot figure it out. Any help would be great. Here is what I have:

//calculate the product of even code

public class Even

{

public static void main(String [] args)

{

int product = 1;

for ( int x = 5; x <= 20; x += 2)

product *= x;

System.out.printf("Product is %d\n", product);

}

}