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?
a. syntax
b. analysis
c. coding
d. design
e. logic
Correct answer is e) logic.
Explanation for the correct answer:
Hence, the correct answer is e) logic.