Question: Question 2 0 Create a control flow graph for the following code and calculate the cyclomatic complexity. Begin Int x , y , power; Float

Question 20
Create a control flow graph for the following code and calculate the cyclomatic complexity.
Begin
Int x,y, power;
Float z;
input (x,y);
If (y0)
power=-y;
else
power=y;
z=1;
while (power!=0){
z=z**x;
power=power-1;
}
If (y0)
Z=1z;
Output (z);
end
please anser it as soon as possible and make diagram in sny software on computer not on paper so that i can paste it in exam
 Question 20 Create a control flow graph for the following code

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!