18. An instructor named Mr. Mo Allem has the following grading policy: “Curving of grades is achieved by adding to every grade the difference between 99 and the highest grade in the class.” If the following are the grades of the class, write a program to calculate the grades after they have been curved: 81,65,77,82,73,55,88,78,51,91,86,76. Your program should work for any set of grades.
The program for given problem in Matlab(You did not mention
in which language I am assuming it as Matlab because you asked in
electrical section) can be written as follows-
This program creates a function named
'curvedgrades'
to find curved grades.
Verifying the code-
Get Answers For Free
Most questions answered within 1 hours.