Problem:
Question- Design 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,reprompt the user continuously until a correct value is entered.At the end of the program,display the average star rating for the movie.
Describe the code of program for the Hollywood Movie Rating Guide.