0

BRAIN TEASER: Find the last two digit of composite digits( made of number and power)?In either coding or maths.

explanation we all know 2^2= 4, 17^2=289,. last two digits are 89 15^3=3375, last two digits are 75 Now question is we have input in a way (some help for coders) composite digit = (number)^(power) find last two for below. e.g. 9^4 18^9 88^78 173637^6363

6th Sep 2017, 5:53 PM
Anand Bhatnagar
Anand Bhatnagar - avatar
3 odpowiedzi
6th Sep 2017, 7:03 PM
⚛prudhvi⚛
⚛prudhvi⚛ - avatar
+ 2
@prudhvi Ur code is too short but nice logic it works on large digits @nomeh Ur code also good and right but didn't work on large digits but nice code
7th Sep 2017, 2:41 AM
Anand Bhatnagar
Anand Bhatnagar - avatar
6th Sep 2017, 9:04 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar