Question: write a main() method that will Prompt the user to state the number of quiz scores to be entered Read this value from standard input

write a main() method that will Prompt the user to state the number of quiz scores to be entered Read this value from standard input Use a loop to read each Double quiz score value from standard input Using a method of the ArrayList class, add each value to the quizScoreList After all of the values have been added, use a loop to print all of the quiz score values. Calculate and print the average quiz value Compile & run your program. Your input and output should look something like: Please enter the number of scores that you will enter: 4 Enter score 1: 80 Enter score 2: 90 Enter score 3: 70 Enter score 4: 90 The scores that you entered were: 80.0 90.0 70.0 90.0 The average score is 82.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!