Aug 30, 2012 at 7:10pm UTC
hello guys can any body help me to creat a very simple program that determine whether a number is prime or not
Aug 30, 2012 at 7:16pm UTC
We don't do assignments, but we do help out, and the posts remain to serve as guide to others. So there are plenty of examples in the forum somewhere, you just need to search.
Aug 30, 2012 at 9:13pm UTC
Google it and you will find it in 2 seconds.
Aug 31, 2012 at 8:14am UTC
to check that N, is a prime number, chack to see if N is divisible by any number from 2 to sqrt(N), if it is then it is not prime, else it is prime.
Sep 2, 2012 at 6:30am UTC
i2Fluffy, i needed only some advise on how to do it not a complete program already written, thanks for ur suggession....