I will do my best to explain this but in case you are unable to follow, please see the input and output files for reference.
Input file column A provides the serial number, Column B provides the strength of students in a particular class (contains data with line break) and column C provides the subject name for the respective class students in that serial number.
This data needs to be converted as follows:
The subject should be the column headers and the strength of the students should be reflected within the subject in each row i.e. for every serial number the number of rows will increase based on classes in that serial number.
Also, please let me know how to resolve the line break issue in Alteryx.