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

Often, an antagonistic relationship is call a?
Which set of numbers is included in the solution set of the compound inequality? {–7, 5, 18, 24, 32} {–9, 7, 15, 22, 26} {16, 17, 22, 23, 24} {18, 19, 20, 21, 2
The diameter of a dime is seven hundred five thousands of an inch
Which of the following is not water soluble? salt sugar fat carbohydrates
how much is 7 kilometers
What elements are present in sugars? A. Carbon, Hydrogen, Potassium, Oxygen B.Oxygen, Hydrogen, Nitrogen, Potassium C. Carbon, Oxygen, Nitrogen, Potassium D. Ca
What kinds of provocation caused colonists to riot or otherwise act directly even violently in defense of their interests? How did common law, enlightenment, an
how does drama compare to film?
The force that pulls us to the earth
In addition to taste buds, what should also guide our eating habits?