arrays

Hello,
i need to know how to write two arrays that stores names and numbers, the first one is an array that stores 8 names and the second one stores also 8 salaries for the people in the first array. Also what are the proper declarations needed in the beginning in such program. The program should take the stored data for the salaries and get the average for them.
Thank you very much
Topic archived. No new replies allowed.