 Design test cases for the following program fragment.
(1) Draw the detail control flow diagram.(10 points).
(2) (2) Calculate the cycle complexity in(1).(5 points)
(3) List the independent paths, and design test cases based on these independent paths.(15 points)

Void Do(int X, int A, int B, int C)
 {
 while(X++<10) {
if((A>1)ΙΙ(B==0)) 
 C=C/A；
 else 
 if(C<0) &&(X>1)) 
 X=X+1; 
 A=B+C；
 }
}