Sagot :
Find all factors of the number. If the number has only two factors, 1 and itself, then it is prime. If the number has more than two factors, then it is composite.
#CarryOnLearning
Find all factors of the number. If the number has only two factors, 1 and itself, then it is prime. If the number has more than two factors, then it is composite.
#CarryOnLearning