Question: int main ( ) { printf ( Start of the programn ) ; int x = 0 ; while ( x < 5 )
int main
printfStart of the programn";
int x ;
while x
printfValue of x: dn x;
if x
printfEvenn;
else
printfOddn;
x;
switch x
case :
printfOnen;
break;
case :
printfTwon;
break;
default:
printfOthern;
printfEnd of the programn";
return ;
draw the control flow diagram and derive test cases
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
