I have a file named input.txt
which contains students data in StudentName # ClassName #SchoolName # Subject1Marks # Subject2Marks
format.
Shriii#First#ADCET#95#90
Chaitraliii#Second#ADCET#80#75
Shubhangi#First#ADCET#75#70
Tushar#Second#RIT#80#79
Prathamesh#First#RIT#88#63
The output should contains record of students whose average is more than 90. I have to show the average in new column.
The expected output is Shriii|First|ADCET|95|90|92.5
I tried various ways but was not able to generate expected output. I tried Link1 Link2