I am creating a program that reads a file and if the first line of the file is not blank, it reads the next four lines. Calculations are performed on those lines and then t
Please test this function (split()) on a simple file. I was facing the same issue and found that it was because split() was not written properly (exception handling).