Here is my code for the problem where we need to find the number of trailing zeros in the factorial of a given number. Link here
I am not getting a correct answer. Is there something wrong in the logic or am I missing something minute? asked 24 May '14, 13:36

You are not initializing t . t can be 0 initially and so it will not go in the loop . Here is your corrected code .
answered 24 May '14, 14:28
