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

Which box plot represents the data set {1,3,5, 7, 9, 11}?
pls help somebody. And also include how u got it. I'm confused. :)
D. Rewrite the following sentences using the present perfect tense form of the verb in brackets (3mks)i. The dresses I bought(shrink)​
The purpose of this text is mainly to O A. define the meaning of Romanticism B. explore the socio-political context of Romanticism C. note prominent writers in
what were the factors that lead people to move west
Find the solution for the equation and check it. -6x - 1 = 23 Solution: Check:
Easy assignment for 20 points.
Examine the pair of triangles given below. If EDC ~ KGH then the value of K is... (photo included)
Find the greatest common factor of 28 and 35
Which table of ordered pairs represents a proportional relationship?A x-2 4 6 у 4 16 36 B x 4 6 8 y 8 -12 -18 C x-3 -5 -7 y 5 3 1 D x-3 -6 -9 y 12 24 36​