Search:

Type: Posts; User: jps

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    1,726

    Re: Please HELP! my code is wrong somewhere.

    Under Thread Tools near the top of the page
  2. Replies
    12
    Views
    1,726

    Re: Please HELP! my code is wrong somewhere.

    What is your question now?
    What is not working the way you expected? ...and what is it doing instead?
  3. Replies
    12
    Views
    1,726

    Re: Please HELP! my code is wrong somewhere.

    Proper indentation helps errors like this stand out, not to mention it keeps the code easier to read. See how far:
    double flip() {
    is tabbed in, it should line up with other methods within the...
  4. Replies
    12
    Views
    1,726

    Re: Please HELP! my code is wrong somewhere.

    Please use
    before your code and after your code.


    void flip() {
    flip();

    randomNum = (int)Math.random();

    } Does this method call itself over and over? What did you intend to do here?
Results 1 to 4 of 4