Question: Write a C program to store final exams results of 10 students Section X-1 for all 5 courses i.e PF, IICT, AP, CAL, ENG. The

Write a C program to store final exams results of 10 students Section X-1 for all 5 courses i.e PF, IICT, AP, CAL, ENG. The program needs to contain the following functionalities: Write a C program to store final exams results of 10

Write a program to store final exams results of 10 students Section X-1 for all 5 courses i.e PF, IICT, AP, CAL, ENG. The program needs to contain the following functionalities: 1. Reads a list of each student's double-precision scores (e.g 38.25) from the keyboard and save it into a 2D array named grade. So, every row carries the marks of one student bearing the roll no = (row no.+ 1). The process of input should be terminated when a negative value has been entered. 2. Finds out the highest score in each course. 3. Display roll numbers of students with the highest score in each course. 4. Find out the student who ranks 1st in the class. (Hint: Save total marks for all students in an array and find the student with highest marks among them) SAMPLE INPUT SAMPLE OUTPUT Sample Outputs for 2: Highest score in PF: 90 Highest score in IICT: 93 Highest score in AP: 100 Highest score in ENG: 85 Highest score in CAL: 98 3 PF ENG CAL Sample Outputs for 3: 68 72 63 88 1 85 93 76 Students securing the highest score in PE 2 60 70 75 are Roll no. 05 & 09. 3 30 10 45 90 85 100 85 90 Students securing the highest score in 5 55 70 76 58 57 IICT are Roll no. 02 & 09. 6 78 7 Students securing the highest score in AP 78 97 8 90 85 are Roll no. 05 & 09. 89 9 67 85 76 83 Students securing the highest score in ENG are Roll no. 05 & 09. Students securing the highest score in CAL are Roll no. 02. 0 4 1 IICT 2 AP 76 86 98 nWNO 50 30 55 34 40 49 ---> 76 60 83 40 46 93 67 54 100 62 Sample Outputs for 4: First position in Section X-1 is secured by Roll no. 09 Part a) Provide initialization of provided input 2D array [5 marks]. Your program should also take a 2D array as input from the user. Part b) Submit executable program code with proper indentation and comments (using C Language). Each part contains 5 marks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!