Jane wrote a program that moves a mouse through a maze. But when the mouse took a right turn, it disappeared from the maze. What kind of error should Jane fix to make the program run properly?

(1 point)
A. Boolean error
B. logic error
C. syntax error
D. infinite loop error

B. logic error