For finding prime numbers upto a given no, Use "The Sieve of Eratosthenes algorithm"http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
that is a gud way to find out effectively
For finding prime numbers upto a given no, Use "The Sieve of Eratosthenes algorithm"http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
that is a gud way to find out effectively