Computer Science, asked by mdsaddam96686, 4 days ago

0.Write a prigram in Java which accept a integer number and check whether it is a “Autimurphic Number” ir nit. ( A Autimurphic number is that whise square’s right side digits are the given number.) Example s 5 and 25 are Autimurphic numbers.

Answers

Answered by PTiger
0

Answer:

//logic

// input a number n

int sq = n * n;

if(sq % 10 == n)

print(" number is automorhic");

else

print("number is not automorphic");

Similar questions