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

HELP PLEASE DUE IN A MINUTE
Find the quotient. 5/18 divided by 2/6
An artist decides to frame a photo that is 9 inches wide and 12 inches in height. To calculate how much material she'll need, she uses the formula for the perim
Factorise 14x2 – X-3
According to advocates for the use of genetic engineering, which is an example of the importance of recombinant DNA technology? Genes from nuts used in other or
which chemical engineer, physician, and nasa astronaut was the first black woman to travel to space?
Is the authors of analysis say that people would be better off drinking. A fact or opinion?
oxidation and reduction go side by side ​
I need some help with chem, how do you know whether the reaction is endothermic or exothermic? Pls provide examples. Thank you!!
What do I Have to do to Become a Marine biologist Or Attorney​