Question: Q 1 ) Consider the follawing structure: struct empl char name [ 2 0 ] ; int salary: } Write a C C + function

Q1) Consider the follawing structure:
struct empl
char name[20];
int salary:
}
Write a CC+ function that finds the average salaryand then primt the names and salaries to the screen that are above the averake, Array of structures and its sise are Riven as parameters to vour function.
void printabovea vgsalary (struct emp s [1. int size);
 Q1) Consider the follawing structure: struct empl char name[20]; int salary:

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!