Write C++ program to check whether a number is Prime number or not using while loop
belongs to collection: C++ Language Loop Programs with Examples
All Answers
total answers (1)
belongs to collection: C++ Language Loop Programs with Examples
total answers (1)
I have used CodeBlocks compiler for debugging purpose. But you can use any C++ programming language compiler as per your availability.
Result:
Enter any number:19
19 is a Prime Number
need an explanation for this answer? contact us directly to get an explanation for this answer