Answer to Question #316954 in C++ for Nado

Question #316954

class CSR


private data


members:


int csrID – a integer to hold employee identification numbers between 1 and 7.


char *csrName


int hours


int complaintsResolved


float payrate


payRate = $25 + 25*(complaintsResolved by each CSR/total complaints resolved)


float wage – wages = hours * payrate


static int totalComplaintsResolved


1 void calcPayrate() – a function to calculate the employees payrate


2. void calcWage() – a function to calculate the employee’s wage


3. static int getTotalCpsResolved() – a static function to get total complaints resolved


Functions:


1. CSR getCSR_at(CSR employees[7], int index) – returns the CSR object at the given array index

2. void calcTotalComplaints (CSR employees[7] ) – a function that sums the complaints

3. void calcAllEmployeeWages(CSR employees[7])

4. void SortByHours(CSR employees[7]) – sorts employees in descending order based on

hours worked.

5. void SortByComplaintsRes(CSR employees[7]) - similar above

6. void SortByWages(CSR employees[7]) //


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog