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

Does the depth of a pan affect how water freezes?
Rewrite the function c(x) =9(x+3) using the distributive property
What three islands are located off the East African coast
Nadine can send or receive a text message for 15 cents or get an unlimited number for 5 dollars. Write and solve an inequality to find how many messages she can
A 1 digit number and a 3 digit number have a sum of 205.  The same two number have a difference of 195, a product of 1,000 and a quotient of 40.  What are the t
Why is RNA necessary to act as messenger?
Why is RNA necessary to act as messenger?
A passenger on a boat moving at 1.70 m/s on a still lake walks up a flight of stairs at a speed of 0.60 m/s , as shown in the figure . The stairs are angled at
Why is RNA necessary to act as messenger?
When was World War I?