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

Unearned revenue is a(n) __________ account and carries a normal __________ balance.
What is one way to find the total cost of a jacket for $55.80 with a sales tax of 2.7%
Which sentence in this excerpt from Theodore Roosevelt's "Citizenship in a Republic" speech conveys his central opinion about cynical people? But with you and u
If 1 square food of grass seed = 25cents ,then how much would grass seed cost for 55,000 square feet of grass seed was needed. Please note that I’m doing this o
What is the fifth term of the sequence? an=5⋅2n−1
How did the French navy assist the Continental Army at the Battle at Yorktown? A. They brought in supplies to the Continental soldiers at Yorktown. B. The
How many countries participated in the first Winter Olympics?
What are income taxes (easy to understand)?
please help me thank you
Budgetary earmarks for colleges and universities would be anexample of