Fill This Form To Receive Instant Help
Homework answers / question archive / Trace the output of the program segment in Figure 2
Trace the output of the program segment in Figure 2.int i = 1;
int product = 1;
while (i < 6)
{
product = product*i;
if(i%2==0)
printf("Loop %d, product = %dn",i,product);
i = i + 1;
}