Prime Numbers
printf("\tThis program lists all"
printf("\n\n\tPrimes <= %d:\n\n",
for( p = 2; p <= n; p++) {
/* try to find a divisor of p */
for(div = 2; div < p; div++) {
/* so p is not a prime */
/* exhausted possible divisors */
This is program pg120.c