Answers for "reversing a number using parameters 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 "reversing a number using parameters java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language