I have a text file i want to read data from the first line of the test file is ow many lines are in it then on each line seperated by a space is itemnumber itemprice itemquantity.
39284 5.75 12
18372 4.50 23
27649 12.99 81
how would i read in the file and store the item numbers in one array, item prices in another, and item quantity in a thrid array?