Welcome to Westonci.ca, your ultimate destination for finding answers to a wide range of questions from experts. Get immediate and reliable answers to your questions from a community of experienced professionals on our platform. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

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


Sagot :

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

Thank you for choosing our service. We're dedicated to providing the best answers for all your questions. Visit us again. We hope our answers were useful. Return anytime for more information and answers to any other questions you have. Thank you for visiting Westonci.ca, your go-to source for reliable answers. Come back soon for more expert insights.