Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can you help me please???

 
Burak Tass
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
4. Write a Java program that will display the first N prime numbers. For instance; if N = 14, the following numbers must be displayed
2 3 5 7 11 13 17 19 23 29 31 37 41 43
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry Burak, but we try not supply direct answers to assignment/interview questions or provide ready made code samples (please, have a read of this).

We will however help you work through the coding problems you are having. So, what have you tried? Can you post the code you've got so far? Or if you've got nothing, can you explain what is confusing you?
 
Burak Tass
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need this codes to study tomorrow exam can you send it now it is not assignment i have to study tomorrow exam plaese help me
 
fred rosenberger
lowercase baba
Bartender
Posts: 12125
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folk here will NOT give you the answer. If they do, moderators (such as myself) will delete it. We're here to help you learn, not spoon feed you answers to homework or test questions.
 
Burak Tass
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can't you send me codes ?
 
fred rosenberger
lowercase baba
Bartender
Posts: 12125
30
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CAN I?

yes.

WILL I?

no.

You don't seem to understand our mission here. We want to HELP you LEARN to program. you CANNOT learn to program by being handed an answer. the only way to learn is to do it yourself. Ask questions. try writing code. experiment. make mistakes and learn to not make them again.

Whether you pass or fail your exam is not our concern or problem. Personally, i don't want someone to pass a Java exam who can't program. Would you want a doctor to operate on you who doesn't know a kidney from a spleen? would you want someone to chauffeur you around who doesn't understand the rules of the road?

 
Henry Wong
author
Marshal
Pie
Posts: 21120
78
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Burak Tass wrote:can't you send me codes ?


Well, you can start from your other assignment....

http://www.coderanch.com/t/451098/Java-General-beginner/java/please-help-meeeee

You seem to have started work on doing primes there... you just need to finish it.

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic