6.13. Exercise: Write report to file

Take the exercise creating statistics of the numbers.txt file and 
write the results to the numbers.out file.

minimum: -17
maximum:  98
total:   126
count:     6
average:  21

You might need to look up the documentation of the printf
in order to have align the columns.


If you are interested in on-site trainings by the author, please contact me directly.

Online courses:

Would you like to get
updated when I publish
the next article?

Follow me:

Google Plus Twitter RSS feed