Question: Study the C + + code below carefully to answer the following questions: ( 1 0 points ) a ) Draw the CFG ? b
Study the code below carefully to answer the following questions:
points
a Draw the CFG
b Is adequate using the block coverage criterion? Show full analysis
int main
int index;
cout "Enter a number: endl;
cin ;
index ;
while
index
cout not a prime number" endl;
break;
index;
cout a prime number" endl;
main
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
