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

which of the following refer to just noticeable difference between two stimuli
in an examination 91% students passed if 18 students failed find how many student in appear in the examination.​
Help Question in picture
i need help i don’t know how to solve this:D 10x - 5x + 2
Owen contends that the labor of unemployed people should be used to A. reduce misery. B. clean up waste. C. lower wages. D. increase profits.
If you can solve this you are a Genius and will be rewarded 100 points
The idea that elected representatives should listen to their constituents' opinions and then use their best judgment to make decisions is called behaving as a
Which of these countries is located on the European Plain? A. Italy B. Spain C. Ukraine D. UK
The cheetah can run a distance of 275 m for 9 seconds. Calculate its speed.
A metal cube has an edge that is 11.4 mm long and a mass of 6.67 g. Calculate the density of the metal and determine the likely identity of the metal.