Question: Please help me with C++ project. Thanks Using a structure, and creating three structure variables; write a program that will calculate the total pay for

Please help me with C++ project. Thanks

Please help me with C++ project. Thanks Using a structure, and creating

Using a structure, and creating three structure variables; write a program that will calculate the total pay for thirty (30) employees. (Ten for each structured variable.) Sort the list of employees by the employee ID in ascending order and display their respective information. Description Employee IDs Hours Worked Pay Rate Total Pay DataType of INT of DOUBLE of DOUBLE of Double Members employees_jd hrworked _jd payrate_jd total_pay_jd Structure name payroll administrative office field structure variable structure variable structure variable Array Size 10 10 10 Excluding the main function, your program should have four additional functions that will get the hours worked, and payrate, calculate the total pay, sort the data and display your output Base pay should be calculated by multiplying the regular hours worked by pay rate. If a person has worked over forty (40)hours, total pay is calculated by an adding 10% of base pay for every five (5) hours over forty (40) to base pay. (ie a person working 50 hours with a total pay of $100 would have ((hours-40)/5)*(base pay*.1)+base pay Note: _jd represents the initials of the programmer. Your function names should be named by replacing the initials jd with your first and last initial:s Read Input FileCalculate Pay Sort Data sort_jd Called from main Output Results prt_jd Called from main Name of function get_jd calc_jd Properties of function Called from main Called from main Should pass employee id, hours worked, pay rate Should pass hoursSort data by student Should pass hours Definition of Function worked and pay worked and pay rate and calculated ID using the bubble or selection sort rate total pay passing all variables and total pay rint the data

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!