This is a simple program to illustrate how to check if a number is prime.
Added restart of question :-)