True/False 3
You can always convert a for loop to a while loop.
You can always convert a while loop to a for loop.
The while loop and the do loop are equivalent in their expressive power; in other words, you can rewrite a while loop using a do loop, and vice versa.
You can always write a program without using break or continue in a loop.
The elements inside the for loop control are separated using semicolons instead of commas.
You can always convert a switch statement to an equivalent if statement.
You can always convert an if statement to a switch statement.
The break keyword must be used in a switch statement; otherwise, a syntax error occurs.
The default case must be specified in a switch statement.
A variable declared in the for loop control can be used after the loop exits.
Visited
times since 28 Jan 1999.