QLC-3) Writing Results to a File.

The scores must be written out to a file in the following format

<topic>, <score><CR/LF>

<topic>, <score><EOF>

Example

Maths, 67

Physics, 89

Use the technique you have learnt in QL-3 and QL-4 to write a test that stipulates what is expected in the output file. A file should not be created. All verification should be done in the tests.