TCS
Company
Find the last non zero digit of 96!.
a) 2 b) 4 c) 6 d) 8
Read Solution (Total 5)
-
- it will be 6
- 12 years agoHelpfull: Yes(8) No(1)
- it will b 8....
- 12 years agoHelpfull: Yes(2) No(2)
- Z(n) denotes the last non zero digit in n!
Z(n) = {4 if tens digit is odd and 6 if tens digit is even) *
Z(n/5) * z(Units digit).
example
last digit of 96!
Z(96) = 6 * Z(96/5) * Z(6)
= 6 * z(19) * last non zero digit of 6!
= 6 * last non zero digit of 19! * last non zero digit of 6!
= 6 * by same process i got 2 * last non zero digit of (120)
= 6 * 2 * 2
= 24 (answer is the last digit ie 4)
= 4 - 12 years agoHelpfull: Yes(2) No(2)
- @ABHISHEK PLZ EXPLAIN HOW...
- 12 years agoHelpfull: Yes(1) No(3)
- it will be 4
- 12 years agoHelpfull: Yes(1) No(2)
TCS Other Question