Posted on by Kalkicode
Code Number

Automorphic Number

Automorphic is a number whose square has last(end) digit is similar to self number. For example.

1  (1X1) = 1  (last digit is 1)
5  (5X5) = 25    (last digit is 5)
6  (6X6) = 36  (last digit is 6)
25 (25X25) = 625  (last 2 digit is 25) etc

Write an efficient program that is able to detect whether a given number is automorphic or not. Here given code implementation process. Here mentioned few solutions in all modern programming language.


Please share your knowledge to improve code and content standard. Also submit your doubts, and test case. We improve by your feedback. We will try to resolve your query as soon as possible.

New Comment