CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
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);
}
Page link:
https//www.codepudding.com/Backend/49395.html
Prev:
For example of Qt agent
Next:
Object-oriented analysis and design
Tags:
C + + language
Related
Links:
CodePudding