... return 0;} #include int main(){ int n = 0; while( 1 ) { printf("\n 請輸入數值:"); scanf( "%d", &n ); int prime = 1; //假設此數為[質數] for (int i=2; i.
確定! 回上一頁