
Your goal is to determine whether a number is prime or composite.
What is a Prime Number
A prime number is a whole number greater than 1–whose only factors are 1 and itself. A factor is a whole numbers that can be divided evenly into another number. The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. Numbers that have more than two factors are called composite numbers.
Prime Number Definition: A number that can only be divided by one and itself.