Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Given marks of five students: (20) CSE115 CSE215 CSE173 CSE373 CSE473 SAKIB 14 54 36 12 32 MUSHFIQ 58 58 55 45 11 MUSTAFIZ

image text in transcribed

1. 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 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. 2. Create a function named EmpInfo. Take ten employee salary, name, id using structure from user Input. Now Find all the salary which are between 20000-40000 and Write in a text file with employee name. Also, Store the salaries in a Structure array. Then pass this structure array to maximum function. (10) Now Create another function named maximum. It will calculate the maximum number using that structure array. Print the result

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

Question

What are the steps in the T&D process?

Answered: 1 week ago

Question

=+ Of the HR issues mentioned in the case,

Answered: 1 week ago