Home > Back-end >  The C language
The C language

Time:10-03

The for loop, is adopted to realize the output bits of 3-100 Numbers are primes, 3

CodePudding user response:

For example
For (int m=3; M<100; M +=10) {
Int k=2;
For (; k<=m/2; K++) {
If (m % k==0) break;
}
If (k> M/2) printf (" % d ", m);
}
  • Related