Determine the cyclomatic complexity of the following program: no 6:= true; sum:= 0; for i to no

Question:

Determine the cyclomatic complexity of the following program:

no 6:= true; sum:= 0;

for i to no of courses do if grade[i] < 7 then no 6:= false endif;

sum:= sum + grade[i]

endfor;

average:= sum / no of courses;

if average  8 and no 6 then print(”with distinction”)

endif;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: