Question: Processing The program should compute the average of all ratings, considering the sum of all ratings divided by the total number of votes. Output The
Processing
The program should compute the average of all ratings, considering the sum of all ratings divided
by the total number of votes.
Output
The program should print out a single line with the value of average viewer rating. The output has
the following format:
The average rating is: X
where X is the value of average viewer rating. It should be rounded to two decimal places.
Examples
Input Output
The a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
