Originally Posted by stefan1989
I literally started c like 2 days ago lol and have been scouring forums trying to learn more.
And the problem is also for the type of guy who is 2 days in C. You will realize when you write it.

I will help you with some flow chart type of thing

1. Read the content in to the array
2. Loop through then something like this pseudo code
for(int i = 2;i<n/2;i++)
  if(n % i == 0)
      // n is not prime and set the flag
if(flag not set)
  Number is prime