arrays and functions

i need to make a function and array that allows me read in the id for the .txt file and search the component corresponding to the id, add up the total amount of that person's id total and then print the report...can someone help me im so confused with this
You need to give us more details. What does the file look like?
Topic archived. No new replies allowed.