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:
You might need to look up the documentation of the printf function.