Cyclomatic complexity is number of test cases that are necessary to achieve thorough test coverage of a particular module.
Consider the following pseudo-code :
If (A > B) and (C > D) then
A = A + 1
B = B + 1
Endif
I think only two test cases are required here, one for true condition another for false condition, so cyclomatic complexity should be 2 but answer is 3(not sure why).
Someone please help me understand why the answer is 3 instead of 2.