Multiple choice

This type of error occurs when the logic used to code the program failed to solve the problem

  1. Syntax

  2. Logic

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A logic error occurs when the code runs without crashing but produces incorrect results because the underlying algorithm or logic is flawed.