Question: Draw the control flow graph for the following code: x = a + 1 ; b = x + 3 ; if b < 0
Draw the control flow graph for the following code:
xa;
bx;
if b then
a;
ba;
else
tb;
ya;
end if
for i to n do
mmI,
ambI;
end for
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
