I am a beginning programmer and this has been bugging me for a long time today, I can not see where I made an error, this program is suppose to return the prodoct of all even numbers from 2-100, but it only returns 0, I am just kind of brain dead that I can not find where I messed up, I know it is just simple mistake somewhere.
any help would be very appreciatedCode:#include <stdio.h> int main(void) { int x, product; product = 1; for ( x = 2; x <= 100; x += 2) product = x * product; printf("the product is %d\n", product); return 0; }