Question: Your task is to write a program that reads the student ratings and calculates the difficulty level for each course. The difficulty level is calculated
Your task is to write a program that reads the student ratings and calculates the difficulty level for each course. The difficulty level is calculated based on the average total ratings.
For example, for Course :
Course difficulty level
Input
The input consists of a few test cases. For each test case, the first line of input is a positive integer which indicates the number of students. The following lines contain integers which represent the ratings cast by the students.
Output
number of students. The following lines contain integs
Output
Case #: Course TTTK
Course :
Course :
Course :
Course :
Course :
Course :
Case #: Course TTTT
Course :
Course :
Course :
Course :
Course :
Course :
For each test case, output a line in the format "Case #x: where is the case number starting from followed by the name of the mo difficult course according to students' rating. In the next lines are the output of the ratings for each course. Format the output in decimal place. Refer to the sample output.
Test Cases
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
