parallel arrays 1

Parallel arrays use two or more arrays to store a collection of related data about an item of interest, where each array element store one field of a record of a small Dbase. For example, if there are two arrays, one for names and one for score, the array elements at names[2] and score[2] would describe the name and score of the third student.

Design two parallel array of 10 elements. One array will store the students’ names and the other array will store the exam’ s score. After populating your arrays with proper data, print the names and scores of all students in class. Print the names and scores of the students who got the highest and lowest score in class.