8 Replies - 4295 Views - Last Post: 20 June 2008 - 03:26 AM Rate Topic: -----

#1 khenjee  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-June 08

first 500 prime numbers

Post icon  Posted 17 June 2008 - 04:30 AM

HI;
ANYONE WHO CAN HELP ME TO OUTPUT THE FIRST 500 PRIME NUMBERS USING JAVA...NOW...
Is This A Good Question/Topic? 0
  • +

Replies To: first 500 prime numbers

#2 AmitTheInfinity  Icon User is offline

  • C Surfing ∞
  • member icon

Reputation: 109
  • View blog
  • Posts: 1,530
  • Joined: 25-January 07

Re: first 500 prime numbers

Posted 17 June 2008 - 04:39 AM

View Postkhenjee, on 17 Jun, 2008 - 05:00 PM, said:

HI;
ANYONE WHO CAN HELP ME TO OUTPUT THE FIRST 500 PRIME NUMBERS USING JAVA...NOW...


GOD !!!


1st Mistake : You entered your post in wrong forum.
2nd Mistake : NOW!!! feeling as if you are a boss!
3rd Mistake : You haven't posted whatever efforts you have taken till now.
4th Mistake [Warning]: All caps might be annoying for some people and can keep them away from helping you.


Please don't do so many mistakes in 1 post. I think only god can help you after that. :D


--EDIT : Content Added --

If you want primer numbers program, just search the snippets section, or forums. These kind of questions always hit the forums every now and then. All the best.

--EDIT : Content Added --

This post has been edited by AmitTheInfinity: 17 June 2008 - 04:43 AM

Was This Post Helpful? 0
  • +
  • -

#3 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3088
  • View blog
  • Posts: 19,136
  • Joined: 14-September 07

Re: first 500 prime numbers

Posted 17 June 2008 - 05:48 AM

OMG WUT AMIT SED!
Was This Post Helpful? 0
  • +
  • -

#4 Ellie  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 8
  • View blog
  • Posts: 533
  • Joined: 17-January 07

Re: first 500 prime numbers

Posted 17 June 2008 - 07:40 AM

He thinks he has joined an episode of 24. Get me the codez NOW Chloe...
Was This Post Helpful? 0
  • +
  • -

#5 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8365
  • View blog
  • Posts: 31,079
  • Joined: 12-June 08

Re: first 500 prime numbers

Posted 17 June 2008 - 08:55 AM

View Postkhenjee, on 17 Jun, 2008 - 06:30 AM, said:

HI;
ANYONE WHO CAN HELP ME TO OUTPUT THE FIRST 500 PRIME NUMBERS USING JAVA...NOW...


0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89.... wait.. that can't be right..
Was This Post Helpful? 0
  • +
  • -

#6 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1632
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: first 500 prime numbers

Posted 17 June 2008 - 10:00 AM

[rules][/rules]

Moved to Java Forum
Was This Post Helpful? 0
  • +
  • -

#7 prajayshetty  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 31
  • View blog
  • Posts: 920
  • Joined: 27-April 07

Re: first 500 prime numbers

Posted 19 June 2008 - 11:18 AM

u guys really rock when comes to teling some one
well ya onething is true we guys dont help ya untill u try something
Was This Post Helpful? 0
  • +
  • -

#8 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 520
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: first 500 prime numbers

Posted 19 June 2008 - 12:44 PM

View Postmodi123_1, on 17 Jun, 2008 - 08:55 AM, said:

View Postkhenjee, on 17 Jun, 2008 - 06:30 AM, said:

HI;
ANYONE WHO CAN HELP ME TO OUTPUT THE FIRST 500 PRIME NUMBERS USING JAVA...NOW...


0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89.... wait.. that can't be right..



Hehe...the Fibonacci sequence...ugh, recursion memories...not pleasant.

I can help you output them...

System.out.println("2");
System.out.println("3");
System.out.println("5");
System.out.println("7");
System.out.println("11");
....


Copy PsychoCoder's {rules}(don't want to reinvent the wheel/sound like a broken record.:)).

This post has been edited by Locke37: 20 June 2008 - 10:42 AM

Was This Post Helpful? 0
  • +
  • -

#9 keremkol  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 01-April 08

Re: first 500 prime numbers

Posted 20 June 2008 - 03:26 AM

View PostLocke37, on 19 Jun, 2008 - 12:44 PM, said:

View Postmodi123_1, on 17 Jun, 2008 - 08:55 AM, said:

View Postkhenjee, on 17 Jun, 2008 - 06:30 AM, said:

HI;
ANYONE WHO CAN HELP ME TO OUTPUT THE FIRST 500 PRIME NUMBERS USING JAVA...NOW...


0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89.... wait.. that can't be right..



Hehe...the Fibonacci sequence...ugh, recursion memories...not pleasant.

I can help you output them...

System.out.println("2");
System.out.println("3");
System.out.println("5");
System.out.println("7");
System.out.println("11");
....


Copy PsychoCoder's {rules}.


its the best answer :)) for that question
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1