Question: This is what your output should look like: ` ` ` Output - MovieRatingAggregator ( run ) run: How many ratings would you like to
This is what your output should look like:
Output MovieRatingAggregator run
run:
How many ratings would you like to input?
Enter rating l :
Enter rating :
Enter rating :
Enter rating :
Enter rating :
The average rating is:
BUILD SUCCESSFUL total time: seconds
Question
marks
You work at Pam's Phamtastic Theatre. Pam, the owner, appointed you to create a Movie Rating Aggregator. The Movie Rating Aggregator should meet the following requirements:
begintabularcc
hline Rating Collector & begintabularl
begintabularl
Prompt the user to enter the
number of ratings they want to
input.
Create an array to store these
ratings.
endtabular
hline Rating Input
Average Calculation
Result Output
endtabularbegintabularl
Using a for loop, ask the user to
input each rating and store
them in the array.
endtabular
hline begintabularl
Calculate the average rating of
the movie by summing up all the
ratings and dividing by the total
number of ratings.
endtabular
hline Print out the average rating to the
user.
endtabular
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
