If there is no problem with the program design, then either the hardware is faulty or the input is incorrect; however, the input is actually correct.
If the hardware is not faulty, then there is a problem with the program design can be inferred.