Computers and Technology, 19.10.2020 18:01 deanazilyiah
The code below is supposed to display the name and score for the student with the highest score one time before the program ends. It is displaying Jim as the student with the highest score. It is displaying the highest score of 95. Unfortunately, Jim does not have a score of 95. Correct the following code:
Declare String students[SIZES] = {"Jen", "Jon", "Jan", "Joe", "Jim"}
Declare Integer scores[SIZES] = 70, 85, 72, 95, 90
Declare Integer index Declare Integer highest = scores[0]
Declare Integer highest Name = " " For index = 0
To SIZES //Assume that this translates to For (index = 0; index <= SIZES, index ++)
If scores[index] > highest then highest = scores[index]
End Of highestName = students[index]
End For Display "
The name of the student with the highest score is ", highest Name Display "The highest score is ", highest
Answers: 2
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
Computers and Technology, 24.06.2019 07:20
3pointsyou've found an image you want to insert into your slide presentation. youwant to make the image look more gray so that it looks like an older imagewhat would you need to adjust? 0.00o a. sizeo b. hueo c. contrasto d. tones
Answers: 2
Computers and Technology, 24.06.2019 07:40
What type of multimedia are live news feeds? live news feeds are examples of multimedia.
Answers: 2
Computers and Technology, 24.06.2019 10:00
Which two technologies support the building of single-page applications?
Answers: 2
The code below is supposed to display the name and score for the student with the highest score one...
Mathematics, 21.01.2021 09:30
Mathematics, 21.01.2021 09:30
Social Studies, 21.01.2021 09:30
Mathematics, 21.01.2021 09:30
Biology, 21.01.2021 09:30
History, 21.01.2021 09:30
Mathematics, 21.01.2021 09:30
English, 21.01.2021 09:30
History, 21.01.2021 09:30
Mathematics, 21.01.2021 09:30