Repeat the Aussie rules exercise, but with output to a CSV file. The worksheet starts like this:
Your program should:
- Compute the score and show it on the worksheet.
- Output to a CSV file with the name the user types in the worksheet.
- Show when the operation is complete.
Here's some output:
Here, your program would make a file called
rules.csv, with this:
Notice that your program sends output to two places: the worksheet, and a file.
Here's another example. Suppose the user put this data in:
They click Run, and see:
The program would create
moose.csv. Its contents:
Upload your worksheet.