// Product of Even Numbers between 1 to 50
class ssvevenprod
{
public static void main(String args[])
{
double sum=1.0;
System.out.println("\n\n\t\tProduct of Even Numbers between 1 to 50");
for(int i=1;i<=48;i++)
{
if(i%2==0)
sum = sum * (double)i;
} // end of for loop
System.out.println("\n\n\t\t\t\tProduct = " + sum);
} // end of main function
} // end of classIn this program, easy to understand to calculate Product of Even Numbers between 1 to 50 using Java Program.
