Well by prime and composite you mean prime and composite numbers? If so a prime number is a whole number greater than one it also can be split evenly by only one or itself.As for composite numbers however are positive integers that has at least one positive divisor other than one or itself.Does that answer your question?