I need to write a fortran program that reads a set of scores from a data file and calls on three function subprograms to calculate the mean, median, and standard deviation for each score set
I mentioned Fortran because thats what the instruction sheet says on it. Basically I typed the entire first paragraph of the assignment sheet.
It should read scores into an array, call on a subroutine to sort the scores, print the sorted scores, call on the function subprograms and print the results.
Fortran is an entirely different programming language. If your professor wants you to do it in C++, I suppose he just didn't have time to change the assignment because he was working so hard at educating you.
I have not written anything because of the lack of understanding the assignment. I missed these classes due to a surgery procedure that I underwent and my instructor just handed me the handout and said to get it done and will not answer any of my questions.
Which part of the assignment specifically are you not understanding?
shaytn wrote:
I need to write a [...] program that reads a set of scores from a data file and calls on three function subprograms to calculate the mean, median, and standard deviation for each score set
That's really as simple as it gets, the only missing information is the format of the file.
Basically he broke this up into 3 or 4 groups of students with 1 getting the main program another getting the mean, a 3rd getting the median and a 4th getting the standard deviation. He expects me to do all 4 parts and I am completely lost on the whole thing. I dont even know where to start. I have a sheet with calculations for each sub program but no other data.