Fast Enterprises interview question

How would you implement a function that will print out the first 100 prime numbers?