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

Anyone knows this one ?
WILL MARK BR ONLY HAVE 5 MINUTES XTRA POINTS
PLEASE HEEEEEEEEEEEEEEEEEELP
A complex shape with measurements 4 feet, 10 feet, 4 feet, 2 feet, 4 feet, 6 feet, 4 feet, 2 feet. The perimeter of the shape is feet.
Evaluate the expression when a=6 and b=9. 6² – 3a / b Simplify your answer as much as possible.
Which of the following statements about digestion is/are TRUE? (Select all that apply.) Salivary glands are located in the esophagus. Digestion begins in the mo
19+7 divided by 2 - 5 with brackets to equal 8?
Calculate the derivative of the following function. y=e6x(6x+1)5
Members of the school orchestra are organizing a trip to a concert. If tickets cost $14 each, how many tickets can be purchased with $500? The concert hall offe
How did the Supreme Court ruling in the McCulloch c. Maryland case help strengthen the federal government