
分析:
首先找出100~200以内的所有整数,再让这些整数对除了1和它本身以外的数求余,如果有能整除的就不是素数,否则就为素数。
代码实现:
#include<stdio.h>
int main()
{
int conut = 0;
int i = 0;
for(i=100; i<p>推荐教程:<a href="https://www.php.cn/csharp-article.html" target="_blank">c语言教程</a><br></p></stdio.h>
13万字C语言保姆级教程(深入):立即使用
在学习笔记中,你将探索c语言的核心概念和高级技巧!











