class Output
static void find
int n=1234, d ,s=0,c=0;
while(n!=0)
d=n%10;
s=s+d*(int)Math.pow(10,c++);
n=n/10;
}
System.out.println (s);
}
}
Answers
Answered by
0
Answer:
hope helpful to you ❤ ☺
Attachments:
Similar questions