Click here to Skip to main content
15,850,751 members
Articles / Programming Languages / C++

How Many Zeros in a Product of Numbers

Rate me:
Please Sign up or sign in to vote.
4.80/5 (12 votes)
18 Aug 2015CPOL2 min read 28.5K   5  
Compute the number of trailing zeros in factorial(N) for any 32-bit integer N > 0


Daily Counts


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer (Senior)
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions