Since the counter i in the for loop started with 0, and therefore <em>product * i </em>will always be 0 no matter how many rounds of loop to go through.
The code is likely to perform factorial calculation. To do so, we need to change the starting value for the counter i to 1.