Search:

Type: Posts; User: DestinyChick1225

Search: Search took 0.29 seconds.

  1. Replies
    5
    Views
    1,479

    Re: I am stuck

    i sent you something....take a look at it and see if it helps alittle
  2. Replies
    12
    Views
    1,368

    Re: I dont get it....please help

    Test:


    public class user_ProgramTest
    {
    public static void main ( String args[] )
    {
    user_Program foo = new user_Program();
    foo.processSieve(); // run the Sieve...
  3. Replies
    12
    Views
    1,368

    Re: I dont get it....please help

    first before it prompts the user for a lower number it goes through all the primes between 1 and 50000

    This is what it reads:


    There were 40731 sexy prime pairs displayed between 1 and 50000...
  4. Replies
    4
    Views
    873

    Re: Why am I getting 62 errors?

    okay that basically took care of 61 errors and I have one left

    its saying:

    user_Life.java:195: illegal start of expression
    if(col<=||col>=GRIDSIZE||(r==row && c==col))
    ...
  5. Replies
    12
    Views
    1,368

    Re: I dont get it....please help

    A sample of what i am suppose to get:

    Please enter a lower boundary and an upper boundary and I will print all of the
    sexy prime pairs between those boundaries.
    Please enter the lower boundary...
  6. Replies
    4
    Views
    873

    Why am I getting 62 errors?

    Here is my code that I have completed:



    import java.util.Scanner;
    import java.util.Random;


    public class user_Life
    {
  7. Replies
    12
    Views
    1,368

    I dont get it....please help

    I really dont understand why:

    First, my program is loading every number possible before prompting my user for a number between boundaries.

    Second, why my program keeps listing off way more...
  8. Replies
    1
    Views
    387

    What am I msising?

    To be truthful, this is an assignment for my class that has just ended. I turned it in thinking that I had finished it. I was suppose to do the three methods at the bottom of the code and I did and...
  9. Replies
    3
    Views
    927

    Re: Something is wrong? Please help.

    So I dont need a constructor method as per UML spec?
  10. Replies
    3
    Views
    927

    Something is wrong? Please help.

    What did I do wrong with this code? I thought it compiled great.


    import java.util.Scanner;

    public class mycode_Sieve
    {
    private boolean primes[] = new boolean [50001];

    private int...
  11. Replies
    1
    Views
    495

    Program???

    Example Array foo[][] data

    Col 0
    Col 1
    Col 2
    Col 3
    Col 4
    Col 5
Results 1 to 11 of 11