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 main reason that the primary stakeholder of goodwill is the general public is because it
Studies on gender differences in mate preferences find that males place a higher priority on:
How did Reagan’s presidency impact the Bush administration
Lithium is a _______and is prescribed as the gold standard for treatment of _______.​
HELP PLEASE! Thanks! 4. Using the picture below, what layer is the oldest? When did the faulting occur? 5. List in order the geologic time scale in Eons, Eras,
Harry’s father is building a treehouse. The model below represents the floor. What will be the perimeter of the floor?
suppose that a cell phone plan charges $15 for the first 60 minutes or less used in a month and $0.50 for each additional minute. Write a piecewise function tha
6/4=x/18 what is the answer to this question or proportion
Which body of water connects the Yellow Sea to the Sea of Japan? A. Manila Bay B. the Tonkin Gulf C. the Persian Gulf D. the Strait of Korea
PLZ SOMEONE HELP ME!!!!!!