Check given number is Prime or Not



Output :

Enter any num: 10
Not Prime Num  

Check given number is prime or not



Output :

Enter any num: 10
Next prime num 11