@@ -0,0 +1,492 @@
+import java.util.Scanner;%0D%0A%0D%0Aclass Rev%0D%0A%7B%0D%0A%09int revnumb(int x)%0D%0A%09%7B%0D%0A%09%09%0D%0A%09%09int _rev=0;%0D%0A%09%09while(x != 0)%0D%0A%09%09%7B%0D%0A%09%09%09_rev = _rev *10;%0D%0A%09%09%09_rev = _rev + x%2510;%0D%0A%09%09%09x = x/10;%0D%0A%09%09%7D%0D%0A%09%09%0D%0A%09%09return _rev;%0D%0A%09%7D%0D%0A%09%0D%0A%09%0D%0A%7D%0D%0Apublic class RevNumber %7B%0D%0A%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A%09%09%0D%0A%09%09int number,rev_number;%0D%0A%09%09Scanner Input = new Scanner(System.in);%0D%0A%09%09number = Input.nextInt();%0D%0A%09%09%0D%0A%09%09Rev obj = new Rev();%0D%0A%09%09%0D%0A%09%09rev_number = obj.revnumb(number);%0D%0A%09%09System.out.println(rev_number);%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

Reverse A Number