You have been hired to write a program for the Hollywood Movie Rating Guide, in which users continuously enter a value from 0 to 4 that indicates the number of stars they are awarding to the Guide's featured Movie of the Week.
The program executes continuously until a user enters a negative number to quit. If a user enters a star value that does not fall in the correct range or if the user inputs a non numeric value (error handling), prompt the user a maximum of three time for a correct value. After three incorrect entries, issue an appropriate message and continue with next star value.