r/ProgrammingProblems • u/WeAreButFew • Jan 02 '11
Last nonzero digit of 12345678!
How would you find the last nonzero digit of a large factorial?
13
Upvotes
r/ProgrammingProblems • u/WeAreButFew • Jan 02 '11
How would you find the last nonzero digit of a large factorial?
View all comments
Show parent comment
1
u/brinchj Jan 04 '11
That's why I recognized this question ;)