Search:

Type: Posts; User: jps

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    1,604

    Re: Adding integers from a file

    Sure you do. The following statement in your posted code does just that:
    strLine = br.readLine()

    Did you read what I said near the bottom of my other post? Pay more attention to the second...
  2. Replies
    6
    Views
    1,604

    Re: Adding integers from a file

    Lets pretend you are standing in front of me, and I say to you, "Hey add these numbers up" and I start giving you numbers...

    How would you add them up?
    I say 15.
    You say 15.
    I say 14.
    You say...
  3. Replies
    6
    Views
    1,604

    Re: Adding integers from a file

    ok...
    What integers?
    If you are adding integers there is no reason to use double. Use int.

    To you, you may have provided plenty of information. To people who have no clue what your project is...
Results 1 to 3 of 3