Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    8
    Views
    2,120

    Re: I/O Program output error

    Some pseudo code:
    read a first line and save data for the first agent as current agent
    begin loop to read through rest of data in the file
    Read next line of data from file
    Is this data for...
  2. Replies
    8
    Views
    2,120

    Re: I/O Program output error

    Look at the DecimalFormat class. It can be used to format the output to have the 2 decimal places.

    The code needs to look at the key for the next line and if it is the same, then add the value to...
  3. Replies
    8
    Views
    2,120

    Re: I/O Program output error

    Can you post the output that is created, explain what is wrong with it and show what you want it to be.
Results 1 to 3 of 3