Function returns wrong results. Finding last non-zero digit of n factorial

前端 未结 0 1982
执念已碎
执念已碎 2021-02-05 01:11

I\'ve tried to write a code that prints the last non-zero digit of n!(for non-negative integer n) I thnik I\'ve done everything correct. Can someone tell me why my code doesn\'t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题