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), 23.06.2019 13:30
Free brainliest + free points if answered correctly ! when passing, only when you can see the tires of the vehicle you passed in your rearview mirror. a. return to your lane b. move into the next lane c. flash your headlights d. honk your horn
Answers: 1
question
Advanced Placement (AP), 23.06.2019 19:30
How does public opinion differ on foreign and domestic policy issues? how does this affect the policy- making process?
Answers: 1
question
Advanced Placement (AP), 24.06.2019 02:20
The average act score follows a normal distribution, with a mean of μ = 21.1 and a standard deviation of σ = 5.1. what is the probability that the mean iq score of 50 randomly selected people will be more than 23? 0 1 0.9958 0.3547 0.0042
Answers: 1
question
Advanced Placement (AP), 25.06.2019 23:30
You are a carpet installer and need to lay carpet for a room that measures 11 feet by 18 feet.how much carpet do you need to complete the job?
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
Biology, 16.10.2020 07:01
question
Spanish, 16.10.2020 07:01
question
Mathematics, 16.10.2020 07:01
question
English, 16.10.2020 07:01
question
Mathematics, 16.10.2020 07:01
question
Mathematics, 16.10.2020 07:01
question
Social Studies, 16.10.2020 07:01
Questions on the website: 13722360