Optional Loop Problem 2

Prime Numbers

Write a loop to generate all the numbers from 1 to 100.

If the number is prime, place an asterisk next to it.