Search:

Type: Posts; User: newbie

Search: Search took 0.10 seconds.

  1. Replies
    15
    Views
    1,530

    Re: What is wrong with this code?

    Essentially yes, there isn't much point in telling the OP to do this, that and the other before fixing the more underlying problems which take his program nowhere.
    Obviously I realise it would then...
  2. Replies
    15
    Views
    1,530

    Re: What is wrong with this code?

    But you're thinking of the overall program.
    A19 Came here asking why his program didn't work.

    As the average() method is never called, it isn't part of the original issue A19 had.


    Syntax is...
  3. Replies
    15
    Views
    1,530

    Re: What is wrong with this code?

    It's true that (flag > 0) is just as, if not more viable than the alternative, but either way, there isn't much logic behind either approach with the current code.
    Really, the only real issue here...
  4. Replies
    15
    Views
    1,530

    Re: What is wrong with this code?

    Can you post your updated code on here then? Wrapped in code tags of course.
  5. Replies
    15
    Views
    1,530

    Re: What is wrong with this code?

    Hello there A19, welcome to JavaProgrammingForums.

    When posting code, please learn to surround your code in tags, such as the ones found in my signature.

    Your first issue is a very basic and...
Results 1 to 5 of 5