求平方小于2000的最小正整数的伪代码

是大于
2025-12-16 13:40:54
推荐回答(1个)
回答1:

int i,i;
i=1;n=i*i;
while n<=2000 do
i++;
n=i*i
end;
write(i)