Stuck in nested While loop

Below is the code for my program. I am trying to get this to ask the user if they want to enter a set of test scores. If yes the program runs, Gets the test scores, when the user types end, the loop …