The file contains student names and grades in the following format:
Joe Munson 92
Bob Smith 45
Jill Taylor 85
Jane Hathaway 65
Elliot Parsons 72
Mike Jackson 0
The script must be able to handle files of varying number of lines
The script must warn if a student is missing a mark or if the mark is unreadable (e.g. a letter instead of a number).
The script will calculate the class average, the highest mark and the lowest mark.
The output display shold look like this:
The name of the file is: studentmarks.txt
The class average is: 59.8%
The highest mark is: 92 (Joe Munson)
The lowest mark is : 0 (Mike Jackson)
Originally Posted by Nylex
Instead of creating lots of threads for what appears to be the same problem, you should really just have one thread in which you describe what you're trying to do in full, where you're stuck, etc.