usejavaWrite a program to process a list of test scores as follows: 1. Create an array to store 10 integer test scores. 2. Call a method to populate your array with random values between 30 and 100 inclusive. This method should create the random number object. 3. Call a method to display all the values in the array on a single line with at least 3 spaces between adjacent valu es. 4. Call a method to calculate the average of the test scores as a double. Also, the lowest score should be dropped when determining the average. Store the average from this method in a variable named average. 5. Call a method to calculate the letter grade using the average you calculated in step 4. Store the letter grade in a variable named letterGrade. The average should be the only parameter to this method. Use the following marking scheme to determine the letter grade. 90-100 80-89 70-79 A В 60-69 0-59 BCDF 6. Display the average and the letter grade with appropriate text labels Hand-in 3 outputs (run the program 3 times) 7. Show transcribed image text Write a program to process a list of test scores as follows: 1. Create an array to store 10 integer test scores. 2. Call a method to populate your array with random values between 30 and 100 inclusive. This method should create the random number object. 3. Call a method to display all the values in the array on a single line with at least 3 spaces between adjacent valu es. 4. Call a method to calculate the average of the test scores as a double. Also, the lowest score should be dropped when determining the average. Store the average from this method in a variable named average. 5. Call a method to calculate the letter grade using the average you calculated in step 4. Store the letter grade in a variable named letterGrade. The average should be the only parameter to this method. Use the following marking scheme to determine the letter grade. 90-100 80-89 70-79 A В 60-69 0-59 BCDF
6. Display the average and the letter grade with appropriate text labels Hand-in 3 outputs (run the program 3 times) 7.
Expert Answer
Answer to Write a program to process a list of test scores as follows: 1. Create an array to store 10 integer test scores. 2. Call…