皮皮学,免费搜题
登录
搜题
【简答题】
完善程序:程序用于求100~200之间的全部素数。n的作用是累计素数的个数,该程序要求控制每行输出10个数据。 #include "math.h" void main() {int m,k,i,n=0 ; for (m= 101 ;m<=200;m=m+2) {if ( n%10==0 ) printf("\n"); k=sqrt(m); for (i=2;i<=k;i++) if (m%i==0) ; if (i>=k+1) {printf("%d ",m); n=n+1;} } }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】—It's reported that some capsules(胶囊) are really bad for our health. —Sounds terrible. Hopefully the problem ___ as soon as possible A is solved        B. has solved           C. was solved      D. wi...
【单选题】It’s bad for our eyes to read books _______ the sun.
A.
to
B.
under
C.
in
D.
over
【单选题】My parents _____eat junk food, because it’s bad for our health.
A.
often
B.
never
C.
sometimes
D.
Always
【单选题】—The strong wind has a bad ______ our newly planted young trees. —What’s more, it ______ many people riding bikes on the road. [     ]
A.
effect on, affects
B.
affect on, effects
C.
effect in, affects
D.
affect in, effects
【单选题】Our teacher tells us ______ in bed. It's bad for our eyes. [     ]
A.
not read
B.
not to read
C.
read
D.
to read
【判断题】光泽感低的木材,给人温暖感明显些。
A.
正确
B.
错误
【单选题】Let's not ___ books in the sun. It's bad for our eyes. [     ]
A.
read
B.
reading
C.
look
D.
look at
【单选题】Our teacher told us _______ too much time surfing the internet. It's bad for our health. [     ]
A.
not to cost
B.
not to spend
C.
not to pay
D.
not to take
【单选题】----Smoking should ____________ in school. ----I agree. It’s bad for our health.
A.
be allowed
B.
not allow
C.
allow
D.
not be allowed
【单选题】It’s bad for our eyes _____in bed.
A.
read
B.
reading
C.
to read
D.
reads
相关题目: