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

out of 45 times at bat, Raul got 19 hits. Find Rauls batting average as a decimal rounded to the nearest thousandth.
is 7 over 9 , 5 over 12, and 5 over 8 terminating or repeating decimals? and what are they in decimals? please explain..thx :)
A carton can hold 1000 unit cubes that measure 1 inch by 1 inch by 1 inch. Describe the dimensions of the carton using unit cubes. Can you explain to me how to
describe the relationship between the value of a dollar and the value of a dime
how to write 0.632 in wordform please show an example
Why were Native Americans who practiced agriculture more likely than hunter-gatherers to establish permanent homes?
3312 divided by 48 long division
What is 3,200,000,000,000 in scientific notation
is 8/5 rational or irrational?
evaluate -a.   a=2.2  need help