vegasviman vegasviman
  • 02-04-2022
  • Computers and Technology
contestada

When would a flag variable be most useful?
1.when printing the number of items in a list

2.when checking the condition of a variable in a while loop

3.inside a function that prints the largest side of a triangle

4.when initializing a list

Respuesta :

roseghosts111 roseghosts111
  • 02-04-2022

2. When checking the condition of a variable in a while loop.

Answer Link

Otras preguntas

Which describes the significance of Athens's victory in the Persian Wars? A. Athenians gained new confidence in their own abilities, which led to a golden
How are carbon, hydrogen, and oxygen alike?
If a 21 ounce box of cereal costa $2.94,what is the unit price.
is the earth getting heavier
if hares with long legs run faster than hares with short legs, which hares do you expect would be most likely to survive and reproduce
1) Elizabeth works part-time to help pay for college. She has worked for the last 14 days without a day off for a total of 48 hours. Depending on her schedu
is the earth getting heavier
How do you say "Some brown spiders"?
How to make a mixed fraction
An illegal drug stimulates the parasympathetic nervous system, causing the user to appear tranquilized. What could indicate to a paramedic whether or not the pe