Please enable JavaScript to use CodeHS

CodeHS Glossary


Logic Error General

An error that occurs when a program runs without crashing but produces incorrect or unexpected behavior because the algorithm or reasoning is incorrect, such as using the wrong formula or the wrong comparison operator.