11智能在线
新记
再再次请求编一道Pascal程序题!!!
求100~200之间的所有素数。(循环语句)
举报该文章
相关建议 2009-07-07
var i,j:integer;
begin
for i:=100 to 200 do begin
for j:=2 to trunc(sqrt(i)) do
if i mod j=0 then break;
if i mod j<>0 then writeln(i);
end;
end.
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/fq2ff72sf.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
PASCAL的一道题目,请写出程序!!
请问一道pascal语言程序题,急!!!跪求啊!!!
编一道Pascal程序题输出如下图形——跪求各路高手
一道pascal编程题
一道简单的pascal程序题(提供源码)sos紧急!!
关于PASCAL程序设计的几道题的答案
一道pascal编程题:汇编语言(ASM)