Question: Q 1 ) Consider the following structure: Struct emp { char name [ 2 0 ] ; int salary; i Write a C C +

Q1) Consider the following structure:
Struct emp {
char name [20];
int salary;
i
Write a CC++ function that Finds the average salary and then print the names and sala ries to the screen that are above the average. Array of structures and its size aregiven as parameters to your function.
Void Printaboveargsalry (struct emp s [], int size);
 Q1) Consider the following structure: Struct emp { char name [20];

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!