In this video you will learn to write a Java Program to Check whether the Number Entered by the User is Prime or Composite Number. A Prime Number is a natural number greater than 1 which is completely divisible only by 1 and itself. if a natural number is not a prime number then it is called as a Composite Number.
1 is neither prime nor composite
Get the source code of this tutorial at our website
Catch us on Social Media
Google+
#JavaProgramming #LearningLad #PrimeOrComposite
0 Comments