This is my program with one `for` loop:

```
int main() 
{
   int prod, i, num;

   printf("\nHOW MANY NUMBERS WOULD YOU LIKE ME TO MULTIPLY\n");
   scanf("%d", &num);

   prod = 1;

   for (i = 0;  i <= num;  i++)
   {
       prod = prod * i;
   }

   printf("\nTHE FACTORIAL OF THE GIVEN %d NUMBERS IS %d \n", num, prod);

   system("pause");
   return 0;
}

```

When I execute the program it gives me `0` as the output even when i input the `num` value as 5 or any other number the for loop is not does not increment . Where am I making a mistake?