how to any other number is prime or composite?
Answers
Answered by
0
1 is neither prime nor composite. and the number which is divisible 1 and the number itself is a prime number eg 2;3 ;5
Answered by
0
If it is divisible by only 1 and the no. itself then the no. is prime and if there are more than two factors that no. is composite.You can even differentiate by forming a java or C++ program.
Similar questions