Question: Given the following coding: read (x); read (y); while x #y loop if x > y then x=x-y; else y=y-x; end if; end loop;
Given the following coding: read (x); read (y); while x #y loop if x > y then x=x-y; else y=y-x; end if; end loop; gcd := x; a) Draw the flow graph. b) Calculate the cyclomatic complexity using THREE (3) different approaches. c) List out all the possible Basis Paths.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
