i've been working on a problem and i cant seem to find a solution
product = 1;
for (int x = 1000000; x >=1; x --)
product = product * x;
how can i declare a variable product capable of holding a 1000000! value? int doesn't seem to solve the problem.