@@ -114,9 +114,10 @@ We have different statement coverage with different input values:

With Test 1: A = 20, B = 15 the value of C will be -10, we will print "C negative" and we have 100% statement coverage.
But we only cover the True outcome of IF statement, we have not checked the False outcome. So we have to add Test 2
They now cover both of the decision outcomes True and False.
With Test 1: A = 0, B = 15 the value of C will be -30, we will print "C negative" and we have 100% statement coverage.
But we only cover the True outcome of IF statement, we have not checked the False outcome. The similar coverage with Test 2.
If we take 2 test cases Test 1 and Test 2 we get only 50% decision coverage.
Test 3 can not get 100% statement coverage but it can cover the TRUE outcome.So we have to choose Test 1 and Test 3.They now cover both of the decision outcomes True and False.