static void Main(string[] args){int i,j=3, n = 1000;for (i = 2; i < j; i++)for (j = 3; j <= n; j++)if (j % i != 0)Console.WriteLine(j);else if (j % i == 0)continue;}
添加回答
举报
0/150
提交
取消