write a program to input a automorphic no. Using scanner class
Answers
Answered by
0
Hey user
Using System. out. println(“Not automorphic”);
...
Implementation of this concept is shown below :
import java. util. Scanner;
class example.
{
static void check(int number)
{
int unit_digit1=number%10;
int square=number*number;
int unit_digit2=square%10;
Similar questions