Computer Applications
A programmer wrote the following statement: netPay = grossPay + providentFund; instead of: netPay = grossPay - providentFund; Assuming all the unseen code is correct, what kind of error is it?
- Syntax error
- Runtime error
- Logical error
- None of these
Input in Java
21 Likes
Answer
Logical error
Answered By
3 Likes