Aussie rules with CSV output


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:

  • 5,8,38

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:

Another start screen

They click Run, and see:


The program would create moose.csv. Its contents:

  • 8,1,49

Upload your worksheet.

Where referenced