Question

Of the following, which is not a logic error?
a. Not placing curly braces around the body of an if that contains two statements.
b. Using == to assign a value to a variable.
c. Failing to initialize counter and total variables before the body of a loop.
d. Using commas instead of the two required semicolons in a for header.

Answer

This answer is hidden. It contains 59 characters.