Question: Using the code as a foundation, draw a corresponding flow graph. (4 points) Determine the cyclomatic complexity of the resultant flow graph. (3.5 points) INT

  1. Using the code as a foundation, draw a corresponding flow graph. (4 points)
  2. Determine the cyclomatic complexity of the resultant flow graph. (3.5 points)

INT i = 5

INT n = 0

Boolean x = True

DO WHILE (i > 1)

n ++

IF (10/i > 2)

x = False

i --

END OF DO

END OF PROG

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!