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

Find three consecutive numbers whose sum is 138 by writing and solving an equation
Craig has 36 ounces of flour left in one bag and 64 ounces of flour in another bag. Use the Baking Flour Equivalent table to find how many cups of flour Craig
which two square numbers have a difference of 51?
Andy estimated that he would need 71 feet of lumber for a tree house project. He later found that the actual amount of lumber needed was 60 feet. What was the p
What do you think is Pericles greatest accomplishment
What form of energy provides power for a gas stove? A. nuclear energy B. electrical energy C. chemical energy D. sound energy
what problems did canal builders overcome
Which choice describes how the underlined pronoun is used in the sentence? Who tied for first place in the long jump with Charlotte? direct object subject
Triangle ABC is similar to triangle QRS by the AA Similarity Postulate. Also, m∠A = 45° and m∠S = 75°. What is m∠B? _________ °
15 liters increased by 60℅