Delete lines 18-22. Those declarations are only confusing you. You actually want to read the data straight into an array, not into a bunch of unrelated random variables.

Next you need to actually...