Westonci.ca makes finding answers easy, with a community of experts ready to provide you with the information you seek. Experience the convenience of finding accurate answers to your questions from knowledgeable professionals on our platform. Get immediate and reliable solutions to your questions from a community of experienced professionals 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