Prime Number in C++
Here you learn how to check prime number in C++. Prime number is a number which is only divided by 1 or itself. Below is the C++ program to check whether a number is prime of not. Prime Number in C++ Output Enter any number:7 7 is a Prime number