We know,
N! = 1 X 2 X 3 X ........ X (N-1) X N .
Now , 5! = 1 X 2 X 3 X 4 X 5 = 120 .
So 5! contains one trailing 0 .
Now you to tell me , how many trailing zero contains 1000000!
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
keep on dividing 1000000 to 5^1 and 5^2 and 5^3 and so on till you get value less than one.
now add values of all division and you will get answer