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

What is another name for a coarse-grained texture? A. aphanitic B. phaneritic C. pegmatitic D. porphyritic
What is 2/3 of 12348
why did the colonist go to Georgia? to get more land or to pay off depts or was it for poor people
Which explorer's expedition is responsible for bringing tobacco back from the new world? Francis Drake Sir Walter Raleigh Edmund Spenser William Shakespeare
solve for x. 3(x)+10= 2x3+2x6
Is this correct? Explain. 48 - 24k = 12 (4 - 2k)
Please someone can help me with #3. Thanks
Why did the Sons of Liberty organize the Boston Tea Party? How did the British react to the Boston Tea Party?
Napoleon sold the Louisiana Territory to the United States because he A. felt that the United States would be the best country to manage the land. B. was forced
What is the sum of 98+56