in c
Q1) Write a C program that reads an integer n that represents the number of employees in a company followed by n floating point numbers representing employee salaries. The program then computes and prints the following: A. The average (arithmetic mean) salary in the company. B. The maximum salary in the company. C. If more than 10% of the employees have salaries larger than 3000, the program prints: "Too many high salaries". Q2) Write a C program that reads a reference date and the dates of birth of a group of people, and then prints the number of people in the group whose ages on the reference data are 20 years or older. The first line in the input has the reference date entered as three integers separated by blank (year, month, day), then each of the next lines has the date of birth of one person in the group (year, month, day separated by blank). The last line always has: -1 -1 -1 to indicate the end. Here is a sample input: 2013 3 18 1992 7 6 1993 3 19 1993 8 2 -1 -1 -1 The output in this case will be 1, because only one person (the person with date of birth 6/7/1992) is 20 years or older on the reference date (18/3/20013). Q3) Write a C program that reads the number of the students for a specific course., and then reads for each student the values of first second, and final exams' grades. The grades will be scores out of 100 for each exam. Assume that the total grade for each student is computed as 30% for first exam, 30% for second exam, and 40% for the final exam. Your program should compute and print the following: A. The average of the course for all students. B. Total number of students who passed the course, passing means they scored 50 or more as total. C. The average of students who scored B average. B average means 80 to 89. D. The average grade for the second exam for the course