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

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.4: Arrays As Arguments
Problem 6E: (Electrical eng.) Write a program that declares three one-dimensional arrays named volts, current,...
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
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning