Hello. My objective with this program is to get a name, and two test scores from the user. Then, get the average of the two scores and print the user's name with the two test scores, and the average as well. The program is suppose to rerun for any number of times until "STOP" is entered for the name. I did what I thought was the correct way to do it, but the program does not exit the loop when I enter "stop" or "STOP". Any help would be great.
The loop condition is only checked at the beginning of the loop so it will still ask you all the other questions after you have entered "stop" as name before it exits the loop.