Question: Question 1 [ 1 2 marks ] You work at Pam's Phamtastic Theatre. Pam, the owner, appointed you to create a Movie Rating Aggregator. The

Question 1
[12 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:
\table[[Rating Collector,\table[[-
\table[[Prompt the user to enter the],[number of ratings they want to],[input.]]],[-
\table[[Create an array to store these],[ratings.]]],[Rating Input],[Average Calculation]]],[Result Output,\table[[Using a for loop, ask the user to],[input each rating (1-5) and store],[them in the array.]]],[\table[[Calculate the average rating of],[the movie by summing up all the],[ratings and dividing by the total],[number of ratings.]],],[-
\table[[Print out the average rating to the],[user.]],]]
This is what your output should look like:2HSYD100-1-Jul-Dec2024-SA1-RR-V.2-20052024
\table[[Review Collector,\table[[The program prompts the],[user to enter the number],[of ratings they want to],[input.],[An Array was created to],[store those ratings.]],4 marks],[Rating Input,\table[[A for loop was used,],[asking the user to input],[each rating and store],[them in an array.]],2 marks],[Average Calculator,\table[[The program calculates],[the average rating of the],[movie by summing up all],[the ratings and dividing by],[the total number of ratings]],4 marks],[Result Output,\table[[The average rating is],[printed out in the console.]],2 marks]]
Question 1 [ 1 2 marks ] You work at Pam's

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!