You have just started an internship with the Boone School District. You are working with the instructional support team to conduct analytical studies. Your assignment is to create a program that processes a file of test scores. After reading the file, the program must report the following: • The lowest score in the file • The highest score in the file • The mean and standard deviation of the scores • The median of the scores • The mode of the scores Construct a program that allows the users to enter the filename, reads the file containing the dataset and writes the report data specified above to the screen. Example output: Enter Filename: TestScores.txt The highest score is 100 The lowest score is 50 The mean is 78.9 The std dev is 7.3 The median is 79.0 The mode is 79
You have just started an internship with the Boone School District. You are working with the
instructional support team to conduct analytical studies. Your assignment is to create a
that processes a file of test scores. After reading the file, the program must report the following:
• The lowest score in the file
• The highest score in the file
• The mean and standard deviation of the scores
• The median of the scores
• The mode of the scores
Construct a program that allows the users to enter the filename, reads the file containing the
dataset and writes the report data specified above to the screen.
Example output:
Enter Filename: TestScores.txt
The highest score is 100
The lowest score is 50
The mean is 78.9
The std dev is 7.3
The median is 79.0
The mode is 79
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images