Hi all,
Read it carefully and give the
C# code for the below
Using 1000 sized One-Dimensional Array ,write a program that finds all primes.
Directions : 2 is a prime ,
Starting with 4,erase all multiples of 2 larger than 2
Erase 4,6,8,10,12,14,16,....etc.
Find next number to 2 ,that is not erased,
Similarly Scan entire array & remaining in the array should be Prime Numbers.
Thanks in advance
S.Naveen...