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

Is Charles David Waller in WW1
Which passage is chronological???
How do you work out 8 something 2 something 1 =24 ?
PLEASE HELP MEthank you, and 15 points!!Gretchen and Ezia received equal scores on a test made up of multiple choice questions and an essay. Gretchen got 18 mul
Fern rounded to the nearest ten to estimate 548-132. She subtracted 540-130 and got 410. Is Fern's estimate correct? Explain.
solve y+4x=12 3y=8-12x
Mrs. Jennings had a 5/7 gallon of paint. She gave 1/7 gallon each to some students. How many students received paint if Mrs. Jennings gave away all the paint?
can you use transpire in a sentence?
Solve the equation 6x=2x+40
What kind of consumers do omnivores eat?