DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
how to reverse a number in java
int rev= 0; while(num > 9) { rev= rev*10 + num%10; num/= 10; }
PREVIOUS
NEXT
Tagged:
#reverse
#number
#java
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit