473,396 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can you help me solve this Lab work!!!!!

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.

Thanks
Oct 24 '07 #1
4 764
debasisdas
8,127 Expert 4TB
Please follow the posting guidelines.

DO NOT POST HOME WORKS / ASSIGNMENTS HERE.
Oct 24 '07 #2
eWish
971 Expert 512MB
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.
Oct 25 '07 #3
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.

Thanks
In which paltform ur doing prime number project
Oct 26 '07 #4
numberwhun
3,509 Expert Mod 2GB
In which paltform ur doing prime number project
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.

Other than that, Welcome, to TSDN!!!

Regards,

Jeff
Oct 26 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: tcarvin | last post by:
This is going to sound stupid, but I can't get the help to work in the Visual Studio .NET. I've tried using the help that comes with Studio and also from the MSDN. All I get is a generic...
2
by: QH Hong | last post by:
Compilation of the folowing program gives error message error C2664: 'solve' : cannot convert parameter 1 from 'double (double)' to 'double (__cdecl *)(double)' Here's the codes ==== class...
1
by: Andrej Hocevar | last post by:
Hello, below I've attached a test program reading data from a file and storing that information in a linked list. First problem is that current->p_name will print only the last item in the file...
7
by: MLH | last post by:
Would love to be able to click on any If-statement and launch a utility that would find what A97 believes to be its corresponding EndIf. Such a tool would save me lots of time as I am forever...
2
by: pamelafluente | last post by:
I am trying to connect to a PARADOX .db (vs2005). I am using an OLEDB connection. This is the connection string I am using: Provider=Microsoft.Jet.OLEDB.4.0; Data Source="C:\Documents and...
0
by: topmind | last post by:
I have MS-Access 2002 installed and the part of the VB-Help won't work. It displays a double arrow "<---->" as a cursor in the search box for the 2nd and 3rd tab and won't let me type anything. ...
1
by: dtefran3 | last post by:
The problem Implement a SortedList class which stores a list of int data in ascending order. Program requirements The public interface of your class is as follows: class SortedList{ public:...
10
by: DDCane | last post by:
i have made a code for finding a derivative and now im trying to use it to help me with a code for the newton raphson method: def derivative (f,x,h): import math return float(1/(2*h)) *...
0
by: dbphydb | last post by:
Hi, The below code is doing the following 1. Reading the branch name and the destination from a txt file 2. Parsing thru HTML pages Basically, i want to deploy the build of the branch (supplied...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.