I'm new to C programming and I'm trying to learn on my own. I'm attempting to write a simple (to most people) program that averages five grades. The output should prompt for a name, ask for 5 grades and then output the person's average to the screen. The end user should be able to type "END" to exit the loop. My problem is when I run my program and type "END", the program prompts for another grade when it should exit the loop. I know that my while loop is coded wrong but I don't know how else to code it so it exits the loop when you type "END". I'm also aware I need to do some formatting to my code to make it more readable but I'll work on that so I apologize. Thanks in advance for any advice.