Explanatory Question
Suppose you write a program for computing the perimeter of a rectangle and you mistakenly write your program so that it computes the area of a rectangle. What kind of error is this?
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.