Write a program that will continuously prompt the user for a grade (in the range of 0 to 100) until a sentinel value of 999 is entered. The program will then display the average of all grades entered, formatted to 1 decimal place. Assume the grades are input as integers. If the user inputs an invalid grade, the program will display an error message and not count the data towards the average.