Question: USE STRING COMPARE METHOD MUST. PROGRAMMING LANGUAGE 'C' MUST. 4. Given marks of five students: (20) 14 36 CSE115 CSE215 CSE173 CSE373 CSE473 SAKIB 54

USE STRING COMPARE METHOD MUST. PROGRAMMING LANGUAGE 'C' MUST.
4. Given marks of five students: (20) 14 36 CSE115 CSE215 CSE173 CSE373 CSE473 SAKIB 54 12 32 MUSHFIQ 58 58 55 45 11 MUSTAFIZ 74 77 52 78 20 TAMIM 44 77 55 44 21 MASHRAFEE 52 45 88 44 11 Declare a 2D array using Students marks and two String array using names, subjects in the main function. Now create a function named specific Subject which will calculate Total average marks of Three specific subjects according to teacher input(1 to 5). For example, if teacher Enter 1 it will calculate average marks of CSE115 course. Store marks in an Array and print average marks with subject name. void specific Subject(int marks[5][5],char subjectName[5][50]) Create another function named specificStudent which will calculate Three Specific students marks according to teacher input. For Example,lf teacher Enter "SAKIB" it will calculate the total marks of SAKIB.Store marks in an Array and print three students mark with their names. void specificStudent (char studentName[5][50], int marks[5][5]) Hint: Use string compare method to compare teacher inputs. 4. Given marks of five students: (20) CSE115 CSE215 CSE173 CSE373 CSE473 SAKIB 14 54 36 12 32 MUSHFIQ 58 58 55 45 11 MUSTAFIZ 74 77 52 78 20 TAMIM 44 77 55 21 MASHRAFEE 52 44 45 88 44 11 Declare a 2D array using Students marks and two String array using names, subjects in the main function. Now create a function named specificSubject which will calculate Total average marks of Three specific subjects according to teacher input(1 to 5). For example, if teacher Enter 1 it will calculate average marks of CSE115 course. Store marks in an Array and print average marks with subject name. void specific Subject(int marks[5][5),char subjectName[5][50])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
