What is it that you want to know about each integer, 2-100?
How can you store that information as you find it? How can you model the way the Sieve of Eratosthenes is done on paper--- a list of numbers, some of which you cross off as the process goes on?