Exercise: write report to file - video
Exercise: write report to file
Take the result of the previous exercise and instead of the screen print the report in a file called report.txt
The result should look like this:
minumum: -17
maximum: 98
total: 126
count: 6
average: 21
You might need to look up the documentation of the printf function.
Published on 2015-04-28
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post