Skill set for this LAB:
Problem 1 (50 points) : Write the following functions:
Problem 2 (30 points): Write a function maximum that has three parameters. The function returns the maximal value among its parameters. Write a function processMax that reads 10 integers and finds and returns the maximal between three values: number of positive inputs, number of negative inputs and number of zeros. Use function maximun to find a maximal value between these 3 values. Write a program that tests your functions.
Problem 3 (20 points) : In this program you need to implement the simplified version of the new score system in the Figure Skating competition. Description of the simplified version: There are 12 judges that are present. First step: all 12 judges submit their scores. Second step: the highest and lowest score are thrown out from the 12 submitted grades. Third step: the remaining 10 scores are averaged. Write a program that reads 12 scores submitted by 12 judges for the specific event and calculates the final score according to the rules written above. Each input score is an integer number between 0 and 100. You can assume that the input is valid. You can write everything in main.
Example:
Input: 12 49 100 98 99 16 13 100 99 12 99 100
Output:
The final score is: 68.5