Question: Write a program that keeps Open with - atings for a movie from users and ends when -1' is pressed. The program prints the

Write a program that keeps Open with - atings for a movie from users and ends when -1' is pressed. The program prints the best, worst and average rating for the movie. It also prints the following messages according to the average rating - Rating Between 1 and 3 Between 4 and 7.5 Between 8 and 9 Between 9.5 and 10 Message Not worth watching It's 'okay'... Pretty Good! Re-watch worthy! *The ratings should be between 0 and 10 inclusive. Raise an error message for invalid ratings. Enter the ratings : 7 10 88 Invalid rating! rating should range from 0 to 10 inclusive 8 -1 Highest rating: 10.00 Lowest rating: 0.00 Average rating of 8 people: 5.25 Page 1 I 7 Final remark : It's okay... -
Step by Step Solution
There are 3 Steps involved in it
As the question not providing the programming languag... View full answer
Get step-by-step solutions from verified subject matter experts
