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...
Type: Posts; User: LoganC
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...
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...
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.
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...