1) Write a C program to compute and print the first 100 prime numbers.
2) You will divide your software into two functions:
a. A function test_prime(n) that returns 1 if n is prime otherwise 0.
b. A function main() that iterates over the integers and prints the first 100
that are prime.


Detailed answers to tough
homework problems