C++

C++ Program to Check Whether a Number is Prime or Not1 min read

In this example, you will learn how to check whether a number is prime or not

C++ Code:




Output:

In this example, you have learned how to check whether a number is prime or not

Leave a Comment