Answer
Logical error
Work Step by Step
Suppose a programmer writes a program for computing the perimeter of a rectangle and he mistakenly writes the program to compute the area of a triangle.
This is a logical error because it was due to poor logic of programmer; it does not impact the execution of the program.