Fotran program

Mar 27, 2014 at 2:40am
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
Mar 27, 2014 at 3:12am
@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
Mar 27, 2014 at 3:08pm
My instructor wants it in C++ thats why I put it in this forum
Mar 27, 2014 at 3:17pm
Why did you mention fortran at all if your instructor wants it in C++?

http://www.cplusplus.com/articles/jLzyhbRD/
Mar 27, 2014 at 3:40pm
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.
Mar 27, 2014 at 3:42pm
What have you written so far?
Mar 27, 2014 at 3:44pm
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
Mar 27, 2014 at 3:45pm
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.
Mar 27, 2014 at 3:47pm
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.
Mar 27, 2014 at 4:00pm
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.
Mar 27, 2014 at 4:09pm
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.
Mar 27, 2014 at 4:15pm
Can you ask your classmates for an example input file?
Topic archived. No new replies allowed.