[5.11] Syntax Errors and Logical Errors
- Syntax errors -- Errors in spelling and grammar.
- You can use the compiler or interpreter to uncover syntax
- You must have a good working knowledge of error
messages to discover the cause of the error.
- Logical errors -- Errors that indicate the logic
used when coding the program failed to solve the problem.
- You do not get error messages with logic errors.
- Your only clue to the existence of logic errors is the
production of wrong solutions.