200到300之间的素数/* Note:Your choice is C IDE */#include "stdio.h"#include "math.h"void main(){ int m,i,k; for(m=201;m

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/11 17:25:24

200到300之间的素数/* Note:Your choice is C IDE */#include "stdio.h"#include "math.h"void main(){ int m,i,k; for(m=201;m
200到300之间的素数
/* Note:Your choice is C IDE */
#include "stdio.h"
#include "math.h"
void main()
{
int m,i,k;
for(m=201;m

200到300之间的素数/* Note:Your choice is C IDE */#include "stdio.h"#include "math.h"void main(){ int m,i,k; for(m=201;m
(int)是强制转换,把后面的数强制转换成 int型,
sqrt是函数名,sqrt(m)作用是求出根号下m
先执行sqrt(m) 求出结果后 把结果用(int)强制装换成int型