I am trying to make a calculator that asks a user how many
test scores will be entered, prompt the user to enter a score for the amount of scores to be entered, add the scores, and average the scores. If the user enters and invalid score, one that is above 100, the program should display an error message and not add the entry to the total number of scores or the added scores. I've gotten it to do everything I need until an invalid score is entered. Can anyone help me figure out how to tell it that if the score is over 100, do not add it to the score count or total. Here is what I have so far:
Thanks for any help figuring this out.