└── Reverse the number /Reverse the number: -------------------------------------------------------------------------------- 1 | import java.util.*; 2 | public class Main 3 | { 4 | public static void main(String[] args) { 5 | Scanner Sc=new Scanner(System.in); 6 | int n=Sc.nextInt(); 7 | int[]a=new int[n]; 8 | int temp,i; 9 | for(i=0;i