A number n is automorphic if n^2 ends in n.
For example: n=5, n^2=25
Create a function that takes a number and returns true if the number is automorphic, false if it isn't.
isAutomorphic(5) β true
isAutomorphic(8) β false
isAutomorphic(76) β true
N/A