which of the following is a logic error?

using one equal sign to compare two values

forgetting the quotation marks around a string

dividing by the wrong number when finding an average

putting a space in a variable name

dividing by the wrong number when finding an average