PAUL SEMPUNGU wrote:
> Hey all iam Paul from Makerere University Faculty of Computing and 
> information Technology, iam new to this group and need your help.
> I have a course work but I failed to write the code, below is the 
> course work
> “write a code to produce the first n prime numbers, for example when 
> you enter 3 it produces 2,3 and 5”
> Thax for the help


Wow....I've never heard of anybody that just went ahead and said they 
didn't do anything, but expect somebody to do the work for them, and 
*expect* free homework.

Well, I'll give you some hints.

1) Drop out off school while you still can.

2) 2n + 1

3) (2^n) - 1

4) Loops (i.e. http://en.wikipedia.org/wiki/Control_flow#Loops)



To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/c-prog/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to