I am doing an assignment which I have to write a program using a do statement that prompts for a grade between 0 and 100, then displays the grade, alerts when an invalid grade is entered, exit the program when 999 is entered and terminates after 5 invalid grades have been entered. I have done all the assignment except I cant find my way around the terminates after 5 invalid entries. Can anyone point me in the right direction?? Thanks