KnowledgeBoat Logo
|

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?

  1. Syntax error
  2. Runtime error
  3. Logical error
  4. None of these

Input in Java

21 Likes

Answer

Logical error

Answered By

3 Likes


Related Questions