Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribedDeclare 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 specificSubject(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,If 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.

(Please solve it in C language , in easier way ) urgent

Thank You

4. Given marks of five students: CSE215 54 58 45 CSE115 SAKIB 14 MUSHFIQ 58 MUSTAFIZ TAMIM 44 MASHRAFEE 52 CSE173 CSE373 CSE473 36 12 32 55 11 52 78 20 55 44 21 88 11 74 77 77 45 44 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,lf 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,If 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions