user
Write an algorithm to determine the prime numbers up to 100.

Answer:
assistant
An algorithm to determine the prime numbers up to 100 can be constructed as follows: 

1. Start with a list of all the numbers from 2 to 100. 
2. Set aside 1 as not a prime number. 
3. Starting with 2, divide all the other numbers by that number. 
4. Any number that is divisible (with no remainder) by the number is not a prime number and can be removed from the list. 
5. Next, move onto the next number in the list, and repeat step 3-4 until all numbers from 2 to 100 have been divided. 
6. All numbers left in the list are prime numbers.