Prime Number Program in Java
What is a Prime Number?
A prime number is a positive integer that has exactly two positive integer factors, 1 and itself . Another way of saying this is that a prime number is a positive integer that is not the product of two smaller positive integers.
Here is a list of all the prime numbers up to 100 :