Computer Science, asked by routsanghamitra66, 8 months ago

write a program in scanner to find if thr number input by the user is automorphic number or not. here the user will continue to give input as many numbers he wanted and the program will stop only when the user inputs 0​

Answers

Answered by piyushraj17097
0

Answer:

JAVA

1.)Take a number as input (num).

Square the number (sqr).

2.)Count the number of digits of (num) using while loop (c).

3.)Compare the last (c) digits of (sqr) with the (num).

4.)If they are equal then the number is Automorphic else not.

Explanation:

Hope it will help You !

Please mark me the Brainliest answer.

Similar questions