Question: When is an appropriate time to use a Boolean flag? When you need to check three or more conditions When the conditions you need to
When is an appropriate time to use a Boolean flag?
| When you need to check three or more conditions | ||
| When the conditions you need to check involve and and or at the same time | ||
| When the conditions you need to check are too complex for a regular while loop |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
