Question: WRITE IN JAVA Page 634 Chapter 9:One Dimensional Arrays Please complete Programming Exercise #4 (I copy-and-pasted it below) 4. Write a program that reads a

WRITE IN JAVAWRITE IN JAVA Page 634 Chapter 9:One Dimensional Arrays Please complete Programming

Page 634 Chapter 9:One Dimensional Arrays Please complete Programming Exercise #4 (I copy-and-pasted it below) 4. Write a program that reads a file consisting of students' test scores in the range 0-200. It should then determine the number of students having scores in each of the following ranges: 0-24, 25-49, 50-74, 75-99, 100-124, 125-149, 150-174, and 175-200. Output the score ranges and the number of students. Run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189. NOTES * DO NOT USE individual identifiers like you would in CTEC 120 (see below) int range0_24 = 0; int range25_49 = 0; int range50_74 = 0; ** DO USE AN ARRAY (see below) int[] range = new int[] {0, 0, 0, 0, 0, 0, 0, 0 }; Sample Output (This output is NOT based on input above) Range Count 0-24 2 25-49 4 50-99 7 100-124 5 125-149 4 150-174 6 175-200 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!