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

hich of the following sentences is correct? A. Seven thousands of people showed up for the concert. B. Does anyone know why Steve ordered five dozens of eggs? C
I’m confused !!! Help
Which of the following was a territory the United States took from Spain after the Spanish–American War? A. Puerto Rico B. Hawaii C. Cuba D.
Can you give me a short summary (only in 1 or 2 sentences) on Shakespeare’s Macbeth. And what it is.
Sam is eating a Big Hamburger. The first bite was 20% of the Hamburger, the second bite was 20% of what is left and so every next bite is 20% of what is left. a
What is the value of x? x = 2 x = 3 x = 4 x = 6
Compared to citizens of other nations, americans are _______ involved in politics and community affairs and vote at ________ levels.
Really need some helpUse the diagram below. Write AD/AB in simplest form.
What is the pianist and the weary blues doing when he makes the piano moan with Melody
What advice would you give someone whose life dream is to become a judge?