On Sunday, 7 January 2018 at 12:59:10 UTC, Vino wrote:
Just noticed that the output writes the data and key as 2 values , but the requirnment is to write to six files, e.g
That's the part you can implement yourself. Just replace those writelns with writing to corresponding files.