C++ Program to check whether a number is a prime or composite number

Let us see the C++ Program to check whether a number is a prime or composite number.Prime Number C++

Output

Enter a number

4

The number is a Composite number

 

Latest posts by Prof. Fazal Rehman Shamil (see all)

Buy advertisement space on T4Tutorials

For more details email [email protected]