I am confusing the CC switch statement
If I have the following code:
if (n >= 0) { switch(n) { case 0: case 1: printf("zero or one\n"); break; case 2: printf("two\n"); break; case 3: case 4: printf("three or four\n"); break; } } else { printf ("negative\n"); }
What is CC?
I found a message , said that it is 5, with this diagram 
(ribs 17, not 16, I think it's a typo)
It says that we only need to count case 0 and case 1 as one
But I think the chart should be: 
Edges: 17,
Knots: 13,
17 - 13 + 2P = 6
I count all cases as 1
My professor OOSE said it is 6, but in a different way
He said:
init => 1 if => 1 switch => 1 case 0 1 => 1 case 2 => 1 case 3 4 => 1
therefore it should be 6
What is the correct answer?
I am very confused, thanks.
edited by :
Now I think he is 7 . yes 7
Because if n is greater than 5, it wonβt do anything and exit the switch statement.
then we get this diagram:

now E = 18
18 - 13 + 2 = 7
Am I right ...?
really, really, really confused ...