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-4 and QLC-3 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.
0 Comments