質數判斷的相關文章
質數判斷的相關商品
判斷質數 - 摸索C語言 - PChome 個人新聞台
瀏覽:357
日期:2025-11-03
判斷質數 0 收藏 0 推薦 /*****/ #include #include #include main() { int x,y,z; while(scanf("%d",&x)==1 ) if(x==2) printf("質數\n"); else { z=(int)sqrt(x); for(y=2;y...看更多















