Write a program that reads a file scorestxt consisting of


Write a program that reads a file ("scores.txt") consisting of students' test scores in the range of 0-200. These scores should be loaded into a one-dimensional array. Then the program should determine the number of students having scores in each of the following categories:

0-24, 25-49, 50-74, 75-99, 100-124, 125-149, 150-174, 175-200.

Output the score ranges and number of students. Run your program with the following input data that is stored (one number per line) in "scores.txt": 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 159, 176, 200, 87, 35, 157, 189

Output Format:

Score Range Number of Students

0-24 1

25-49 2

50-74 0

75-99 6

Etc.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that reads a file scorestxt consisting of
Reference No:- TGS0660931

Expected delivery within 24 Hours