Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

can you help me please???

 
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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE 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
 
lowercase baba
Posts: 12871
62
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
Posts: 12871
62
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?

 
author
Posts: 23878
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux 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....

https://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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic