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.

d. Using commas instead of the two required semicolons in a for header.

Computer Science & Information Technology

You might also like to view...

Toner found in laser printer cartridges is not earth friendly

Indicate whether the statement is true or false

Computer Science & Information Technology

In a MenuStrip, placing what character in front of a unique letter allows the user to press Alt and then the given letter to activate the menu choice as an alternative to clicking it with the mouse?

A. % B. $ C. & D. >

Computer Science & Information Technology