Logic errors

Logic errors occur when there is a design flaw in your program causing it behave incorrectly.

Common examples are: