r/ProgrammingProblems • • Jan 02 '11

Last nonzero digit of 12345678!

How would you find the last nonzero digit of a large factorial?

13 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/brinchj Jan 04 '11

That's why I recognized this question ;)