Pergunta de entrevista da empresa Opticon

Give the cyclomatic complexity of a sample code.