I've been assigned with a project to write a program which writes the first 100 prime numbers into an array. I'm absolutely baffelled could you please give me some help.
What language are you suppose to be doing this in? C/C++, Perl, PHP, etc...? Show some code that you have tried and hopefully someone from the appropriate forum can help you from there.
I've been assigned with a project to write a program which writes the first 100 prime numbers into an array. I'm absolutely baffelled could you please give me some help.
Please know that debasisdas is correct, you should not be posting homework to the forums and expecting an answer. Nobody will do your schoolwork for you as it completely defeats the purpose of you taking the class. You will always be required to do the legwork and coding yourself, but the Experts here will give you a nudge if you get stuck.
Please DO NOT go posting an answer to johnwilde's question as that will completely violate our policy here on TSDN. Not only that, we will more than likely remove your answer.
johnwilde,
I understand that you are a new user and I am not trying to be too harsh for that reason, but please adhere to the Posting Guidelines. This is just a friendly warning.
Comment