i'm a beginner using C.. i have a project on creating a souce that can detect prime number.
for example
if the user enter :10
they will print out all the prime nummber within 10
which mean it will print out:7,5,3,1.
can anybody give some tips on doing that ?
any help will be appreciate..