Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a function called classAverage that takes in an array of numbers and, after normalizing the grades in such a way that the highest corresponds
Write a function called classAverage that takes in an array of numbers and, after normalizing the grades in such a way that the highest corresponds to 100, returns the letter grade of the class average. This curve is the same method used to generate norm Tests in Chapter Problem 2. The grade ranges are as follows: averages=>= 90 => A 80 B 70 C 60 D averages F For example: classAverage([170 87 95 80 80 78 85 90 66 89 89 100]) should return B Test your program for the following two cases: classAverage([150 90 61 82 75 92 81 76 87 4131 98]) classAverage([10 10 1132 53 12 34 74 31 30 26 22])
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started