473,320 Members | 2,094 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,320 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 762
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.