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
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
Social Sciences,
2 days ago
Environmental Sciences,
2 days ago
English,
4 days ago
English,
4 days ago
English,
8 months ago
Physics,
8 months ago