C++ example to check whether a Number is Prime or Not

3Shares