... int* a; while (1) { printf("Enter an odd number: "); scanf("%d", &n); if (n>0 && n%2==1) break; printf("n must be positive odd number.
確定! 回上一頁