+ /* Wait for a key and print the list if not 'Q' */
+ if (toupper (cgetc()) != 'Q') {
+ /* Print the result */
+ for (I = 2; I < COUNT; ++I) {
+ if (Sieve[I] == 0) {
+ printf ("%4d\n", I);
+ }
+ if (kbhit() && toupper (cgetc()) == 'Q') {
+ break;
+ }
+ }