this is a java program to display odd and even characters of a array that shows no output :( : public static void main(String[] args) {
        /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
        Scanner scan = new Scanner(System.in);
        int n=scan.nextInt();
        String[] inp=new String[10000];
            char[][] imArray=new char[10][];
        for(int j=0; j<n ; j++)
        {
             inp [j]= scan.nextLine();
         imArray[j] = inp[j].toCharArray();
        }
        for(int j=0; j<n ; j++)
        {
        for(int i=0;  i<inp[j].length() ;i=i+2)
            System.out.println(imArray[i]);
            for(int k=0;  k<inp[j].length() ;k=k+2)
            System.out.println("\t"+imArray[k]);
            System.out.println("\n");
        }
        }
    }