Current location - Training Enrollment Network - Mathematics courses - Mathematical infinite cycle formula
Mathematical infinite cycle formula
8.while always loops when the conditions are met, so when exiting, s=0, and then-= becomes -2, so B.

9. If there is no break after a case, it will automatically enter the execution statement of the next case, so when j=0, case 0 and case 1 will be printed, so the result is 00 12, B.

When 10.i=3, continue will be triggered continuously, so the loop is endless, D.

1 1. The second n++ will always be executed. When I is divisible by 3, the first n++ will be executed. So the total * * * has increased fourfold, so D.