Printing values from array after I split the values?
<p>I'm want to read in from a file and then split it into separate parts and then access it and print it out. I know i can't do it the way it looks now. Please reply asap. The object of the program is to read in from a file points where i split it into x and y values, then sort these values according to there polar_order(this i have figured out) i just want to print out the values for testing.
Thanks </p>

<pre><code>public static void main(String[] args){
        int count = 0;
        Scanner read = new Scanner(System.in);
        int N = read.nextInt();
        while(read.hasNext()){          
            String nN = read.nextLine();
            String[]cord = nN.split(" ");
            int x = Integer.parseInt(args[0]);
            int y = Integer.parseInt(args[1]);
            count++;
        }
        read.close();

        for(int i = 0; i&lt;N;i++){
            System.out.print(x[i]);

        }
</code></pre>
