Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/exam-statistics-program-java/
- Description
- Compute the median score in addition to what the program already does. To compute the median, sort the scores and the score in the middle is the median. If there is an even number of scores, average the two scores in the middle to obtain the median. So, in the sample score list above, the median would be 83.0
- β’
- The number of scores
- β’
- The minimum, maximum, and average scores
- β’
- The number of As, Bs, Cs, Ds, and Fs, using a
- 90
- -
- 80
- -
- 70
- -
- 60 scale.
- Sample Run
- Below is an example of what your program may look like. It does not have to be identical. The userβs input appears in italics (purple).
- ***Welcome to the Exam Statistics Program!!***
- Please enter the name of your data file: esp.txt
- Minimum score: 72
- Maximum score: 92
- Average score: 82.5
- Number of scores by letter grade:
- A: 1
- B: 3
- C: 2
- D: 0
- F: 0
- There are 6 scores.
- Here is the sample input file
- esp.txt
- :
- 6
- 88
- 77
- 92
- 82
- 84
- 72
- Download: http://solutionzip.com/downloads/exam-statistics-program-java/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement