Why are boolean variables useful for if statements and loops?

What will be an ideal response?

Boolean variables evaluate to either true or false, and the if and loop conditions also evaluate to true or false. The Boolean variable is handy because you can write an if statement like this:
if(bGood) where bGood is either true or false).

Computer Science & Information Technology

You might also like to view...

The buttons under ________ on the Design tab are used to run, test, or modify a macro

Fill in the blank(s) with correct word

Computer Science & Information Technology

IP ____ is the falsification of the source IP address in a packet's header so that it appears to have come from a trusted or legitimate sender.

A. switching B. routing C. snooping D. spoofing

Computer Science & Information Technology