sentinel terminated loop/avg calculation

This is a discussion on sentinel terminated loop/avg calculation within the C++ Programming forums, part of the General Programming Boards category; I am working on this program and I need to add two things to it, first I need the program ...

sentinel terminated loop/avg calculation

I am working on this program and I need to add two things to it, first I need the program to accept many students names and scores (not just one) and add a sentinel terminated loop which the loop terminates when the students first name is "light" and last name is "truth". Also, on the student average calculation, I need to be able to drop the lowest score and count the highest score twice for example if the score were: 90 80 70 70 80, I would drop one of the 70's and count the 90 twice. I am really confused, any help would be greatly appreciated!