You run a program and it gives you the difference of two values as the output, instead of the sum of the values, as intended. This is what type of error?
Correct answer is e) logic.
Explanation for the correct answer:
Hence, the correct answer is e) logic.