rishikaraj2403
rishikaraj2403 rishikaraj2403
  • 25-06-2021
  • Computers and Technology
contestada

which of the following indicates that the loop should stop when the value in the quantity variable is less than the number 50​

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 30-06-2021

Answer:

while (quantity >= 50)

Explanation:

Required

Stop when quantity is less than 50

To do this, we make use of a while statement and the syntax is:

while (condition){ }

If the loop should stop when quantity is less than 50; then it means the loop would continue when quantity is greater or equal to 50

So, we have:

while (quantity >= 50)

Answer Link

Otras preguntas

"the value of x is:" 1) 7 2) 7√3 3) 14 4) 14√3 5) 7√2
If the diet is deficient in one or more of the _____amino acids
when the author attempts to gain the audience’s personal trust, what rhetorical device is the author using?
GUESS WHAT??? I'LL MAKE YOU BRAINLIEST!!!! PLEASE ANSWER THIS FASTTTTT Which astronomer supported the belief that Earth was at the center of the universe, while
The polygons below are similar. Find the value of z. Polygons ABCD and EFGH are shown. AB equals 6. BC equals 8. CD equals 10. AD equals x. EF equals y. FG equ
Where is the oldest university in europe?
the average of five number is 25.if four of the numbers are 30,29,25 and 20,the average of the three larger numbers are​
if g(x)= x+1/x-2 and h(x)= 4-x, what is the value of (g*h) (-3)
What is the address of the empire state building
Which unit of measure would be appropriate for the volume of a cylinder that is 8 meters tall and has a radius of 4 meters