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

Given the balanced equation representing a reaction: H2O + HCl ==> H3O+ + Cl- According to one acid-base theory, the H2O molecule (1) accepts H+ ions (3
Which condensed structural formula represents an unsaturated compound? (1) CH3CHCHCH3 (3) CH3CH3 (2) CH3CH2CH3 (4) CH4
Who is the Chief Justice of the United States now?
Where is the Statue of Liberty?
What is the name of the national anthem?
Who vetoes bills? Please help
Who lived in America before the Europeans arrived?
Under our Constitution, some powers belong to the federal government. What is one power of the federal government?
Given the balanced equation representing reaction: N2 + energy ==> N + N Which statement describes this reaction? ( I) Bonds are broken, and the reaction is
When must all men register for the Selective Service?