algorithms.tutorialhorizon.com
Reverse a given number – Java Code | Algorithms
Objective: Given a number, write a java program to reverse a number Example: N = 1234 Output: 4321 N = 1020 Output: 201 Solution using loops and recursions