Answers for "code for reverse number in java"

0

how to reverse a number in java

int rev= 0;
while(num > 9)
{
  rev= rev*10 + num%10;
  num/= 10;
}
Posted by: Guest on December-07-2020

Code answers related to "code for reverse number in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language