What is a 'Logic Error'?

Asked by kemiadewale · 2 weeks ago

1 Answer

33
amorebise · 2 weeks ago Top Answer

This is when your code runs perfectly but gives the wrong answer. It’s like following a map but the map was for a different city.

The computer did exactly what you told it to do, but what you told it was wrong. These are the hardest bugs to fix! You have to think like a detective to find them.

Log in to add a comment.