Click the Twitter icon to follow our tweets and
know more about us.

LOOPLESS automorphic

class looplessauto
{
     public static void main(int n)
     {
         String nm=""+n;int c=nm.length();        
         c=(n*n)%(int)(Math.pow(10,c));
         if(c==n)
         System.out.println("Automorphic");
         else
         System.out.println("Non Automorphic");
     }
}
   

Comments (0)

Post a Comment