Score Report Java program Task 1: Declare and initialize arrays. (1) Create an integer array to hold score of 6 students. Create another array with 6 elements to hold the name of the students. (2) Create a loop to input the name of the student and corresponding score, and store them in the two arrays you created above. Task 2: Find the student with the highest score. (3) Write code to find out the highest score. (4) Print out the name and score of the students with the highest score. (Hint: there might be multiple students who have the highest score. In that case you might want to use a new for loop to search the score array for the same highest score and print out the corresponding names using the right index obtained from the search.) Task 3: Find the students whose score are below 70. (5) Print out the name and score of the students whose scores are below 70. Task 4: Compute the average score. (6) Find out the average score of all students and print it out

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Score Report Java program

Task 1: Declare and initialize arrays.

(1) Create an integer array to hold score of 6 students. Create another array with 6 elements to hold the name of the students.

(2) Create a loop to input the name of the student and corresponding score, and store them in the two arrays you created above.

Task 2: Find the student with the highest score.

(3) Write code to find out the highest score.

(4) Print out the name and score of the students with the highest score. (Hint: there might be multiple students who have the highest score. In that case you might want to use a new for loop to search the score array for the same highest score and print out the corresponding names using the right index obtained from the search.)

Task 3: Find the students whose score are below 70.

(5) Print out the name and score of the students whose scores are below 70.

Task 4: Compute the average score.

(6) Find out the average score of all students and print it out

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education