Question: Program P3 CFG. a) Identify the basic blocks for the following program P3 written in pseudo-code. b) Draw the control flow graph. Program P3 integer

Program P3 CFG. a) Identify the basic blocks for the following program P3 written in pseudo-code. b) Draw the control flow graph. Program P3 integer A, B: input (A): if (A > 7) B = 1: else { B = 2: if (A 7 while (int i=l: i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
