Fotran program

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
@shaytn

Sorry, but this is a C Plus Plus Forum. If you need Fortran help, you could try
http://www.tek-tips.com/threadminder.cfm?pid=214
My instructor wants it in C++ thats why I put it in this forum
Why did you mention fortran at all if your instructor wants it in C++?

http://www.cplusplus.com/articles/jLzyhbRD/
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.
What have you written so far?
what I am not understanding is what exactly a fortran is compared to a C++ program. Or how to even justifiably begin writing such a code
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.
Can you ask your classmates for an example input file?
Topic archived. No new replies allowed.