Search:

Type: Posts; User: LoganC

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    1,606

    Re: Adding integers from a file

    I could do that, but I do not know how to read each line seperately.
    Update: I was able to add up all of the integers, and display what it equals, but now how do i get the mean or avg of these?
    For...
  2. Replies
    6
    Views
    1,606

    Re: Adding integers from a file

    In my textfile, my goal is to add up the sum of all the integers, the text file is in a formal like this;
    15
    14
    23
    18
    74
    38
    One per line. That is the only thing in the textfile, integers. I am...
  3. Replies
    6
    Views
    1,606

    Re: Adding integers from a file

    Any help would be appreciated. I added a parse to double, so now the string that is read from the file is converted to a double.
  4. Replies
    6
    Views
    1,606

    Adding integers from a file

    My program works effectively, but now I have to add up the total of the integers. How would I go about doing this? The program is just reading a simple file in c:/ which it does, and displays the...
Results 1 to 4 of 4