| | |
java
![]() |
We will not program your assignments for you. You have to show us some effort before we can help you. Post your code, we can help diagnose some problems. But don't come here expecting us to answer questions without any effort on your part.
To get started, ignore the Java part completely. Just think about what you need to do in order to compute prime numbers. Come up with an "algorithm" of how to do it in your mind.
Then re-write the steps you took in your mind as Java statements. Make this a method in a class (perhaps public static void main). Iterate through the steps enough times until you have 15 of them.
To get started, ignore the Java part completely. Just think about what you need to do in order to compute prime numbers. Come up with an "algorithm" of how to do it in your mind.
Then re-write the steps you took in your mind as Java statements. Make this a method in a class (perhaps public static void main). Iterate through the steps enough times until you have 15 of them.
It is very important to read this: http://www.catb.org/~esr/faqs/smart-questions.html
first find out how to print things.
next find 15 prime numbers (that's easy, there's sure to be lists of the thing, so no need to calculate them).
Combine the two and you have your solution.
next find 15 prime numbers (that's easy, there's sure to be lists of the thing, so no need to calculate them).
Combine the two and you have your solution.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
![]() |
Similar Threads
- Java 3D Environment (Java)
- Java 3D (Java)
- Java Expert (Needed) (Java)
- Java Chat Reboots (Java)
Other Threads in the Java Forum
- Previous Thread: Card dealing game
- Next Thread: How do i creat folders using JAVA..
| Thread Tools | Search this Thread |
account android api applet application array arrays automation awt bidirectional binary birt bluetooth busy_handler(null) chat class classes client code columns component database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer homework html ide image inetaddress inheritance integer intellij j2me java javamicroeditionuseofmotionsensor javaprojects jlabel jme jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source plazmic print problem program programming project property recursion ria scanner search server set smart sms smsspam sort sourcelabs splash sql sqlite static string subclass support swing testautomation threads tree webservices windows






