If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Cyclomatic complexity

Hi I have been given an asignment to read a file and determine the cyclomatic complexity I have tried a few variations but cant seem to get the program to count the 'if','while' etc it always gives 1 as result
does anyone know how to do this
I would really appreciate any help below is 1 of the codes I have tried