Search:

Type: Posts; User: Rihx

Search: Search took 0.18 seconds.

  1. Replies
    11
    Views
    1,450

    Re: Printing from a Method

    must say I am at a loss. Ill try running it for myself later(when Im at home) if you haven't figured it out by then. You don't need to be declaring all those doubles in main, but that wouldn't...
  2. Replies
    11
    Views
    1,450

    Re: Printing from a Method

    The code looks like it should work to me, perhaps try adding System.out.flush() at the end to make sure its not stuck in stdout... Are you running it in an IDE or on the command line?
  3. Replies
    11
    Views
    1,450

    Re: Printing from a Method

    Does the program finish running, or does it hang? Also, you seem to have a rogue ; floating in limbo.
Results 1 to 3 of 3