So we are going through a .dat file and the file has student ids and grades. Where I am having trouble is the fact we are also supposed ot get the average of the grades but subtract the highest and lowest grades from the average. Here is what I have so far.