Jessifraser907 Jessifraser907
  • 02-09-2019
  • Computers and Technology
contestada

When a loop condition is grade >= 90, what values would you use to test your loop?

a. 88 and 89

b. 0 and 90

c. 89, 90 and 91

d. 90, 91 and 92

Respuesta :

ExieFansler ExieFansler
  • 09-09-2019

Answer:

C. 89,90 and 91.

Explanation:

Since the loop condition is grade>= 90 the values i would use to test the loop  are 89,90 and 91.

So that we can check for 3 different conditions.

89 is less than 90 so we can check for <90.

90 is equal to 90 so we can check for =90.

91 is greater than 90 that condition will also be checked.

Hence we conclude that the answer is option C.

Answer Link

Otras preguntas

how do I figure out what 5550/1000
A basketball has been left out in the cold. The next day you find that it has become soft. What do you do to get it back to shape and why?a) Leave it alone to w
what were the main ideas of the reformation?
anita tosses 3 coins. what is the probability that all the coins will land tails up?
In scienceclass the teacher measured 800 milligramns of an chemical.How manyn grams is it.
What is 9-4(2p-1)=45?
The surface area of a triangular pyramid is 375.2 m2. What would change if the surface area were measured in square centimeters?
John Marshall's Supreme Court decisions in the early 1800's did all of the following, except...a.) increase the power of the federal government over the statesb
Why didn't the first stars to form have solar systems with Earth like planets and satellites?
Why did the settlers go to new mexico during manifest destiny?