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, re-prompt the user until a correct value is entered.
After three incorrect entries, the program issues an appropriate message and continues with a new user.
At the end of the program, display the average star rating for the movie.
Your design solution should be modularized and include at minimum a housekeeping module, detail module and finish module.