subject

1. A certain game keeps track of the maximum and minimum scores obtained so far. If num represents the most recent score obtained, which of the following algorithms correctly updates the values of the maximum and the minimum? A If num is greater than the minimum, set the minimum equal to num. Otherwise, if num is greater than the maximum, set the maximum equal to num.

B If num is less than the minimum, set the minimum equal to num. Otherwise, if num is greater than the maximum, set the maximum equal to num.

C If num is less than the minimum, set the minimum equal to num. Otherwise, if num is less than the maximum, set the maximum equal to num.

D If num is greater than the minimum, set the minimum equal to num. Otherwise, if num is less than the maximum, set the maximum equal to num.

ansver
Answers: 1

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 24.06.2019 01:00
What did executive order 9981 accomplish
Answers: 1
question
Advanced Placement (AP), 24.06.2019 04:10
Can someone answer this question without telling me to try my best if i don’t finish my flvs work will i not be able to move to the next grade
Answers: 3
question
Advanced Placement (AP), 27.06.2019 04:00
Why is the continental divide important?
Answers: 1
question
Advanced Placement (AP), 30.06.2019 02:00
In freud's model of awareness, the level is illustrated by the ability to bring words to mind as you need them
Answers: 1
You know the right answer?
1. A certain game keeps track of the maximum and minimum scores obtained so far. If num represents t...
Questions
question
Mathematics, 26.06.2019 22:00
question
Mathematics, 26.06.2019 22:00
question
Mathematics, 26.06.2019 22:00
question
English, 26.06.2019 22:00
question
Mathematics, 26.06.2019 22:00
Questions on the website: 13722362