Hi,

I am working on a program to read in a multidimensional array of the number of students in a class and the number of exams which I have written as:

int scores [NUMBERofSTUDENTS][EXAMSCORES];

what I am trying to do is calculate the class average for each exam, the median of all the scores, print the histogram, calculate the average of each student, and the average of the class. I have both bubble sort and the histogram functions written, but only for one-dimentional arrays. How can I modify them to work for this program?

I also have already written the main program, but only for one-dimensional arrays too. So how can I change it to handle multi-dimentional arrays?

I have to do this with multiple files so bubble sort, histogram, and the main are all separate.

Basically my problem is that I cannot figure out how to pass multidimensional arrays as single dimensional arrays. Please Help me if you can. I can supply you with greater detail if needed.

I have to have this completed by Wednesday so any help is greatly appreciated.