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

Please solve the question and chose from the provided answer options.
What is the recursive rule for the sequence? 3, −1, 1/3, −1/9, ...
How to create a machine that can create anything without any limitations
Simplify the given expression. (–3x2 – 9x + 17) – (15x2 + 20x – 4)
who is know as father of English​
how to Determine the domain of the relation shown in a table
Mental health professionals such as What do psychiatrists do
U is the set of positive integers less than 18. G is the set of positive factors of 12. What is the complement of set G in universe U.
El pantalón que compró Carlos es de Armani. ¡Qué _________! A. colectivo B. ché C. fiaca D. bárbaro
30% chance you will be elected president of the history club and 20 percent chance your friend will be elected treasurer what is the experimental probability