Home > Back-end >  What do bosses
What do bosses

Time:10-19

For (var 1; Num<=100; Num++) {
Var flag=1;
For (var 2; iIf (3) {
Flag=0;
4.//the end of the cycle
}
}
If (5) {
The console. The log (num);
}
}

CodePudding user response:

The
refer to the original poster ithtrgreg response:
for (var 1; Num<=100; Num++) {
Var flag=1;
For (var 2; iIf (3) {
Flag=0;
4.//the end of the cycle
}
}
If (5) {
The console. The log (num);
}
}


You know the program is able to fill in first, otherwise how to fill out!

CodePudding user response:

A look is for prime
Num=2
2. I=2
3. The num % I==0
4. Break;
5. Flag==1
  • Related