Question: I need 1st step same like this #include The edition of the program is Emacs To run the program am using cygwin64 Their I post

 I need 1st step same like this #include The edition of

the program is Emacs To run the program am using cygwin64 Their

I post the example of the Output so kindly it should show

same like this after following all the instructions Also Pseudo I need

I need 1st step same like this #include The edition of the program is Emacs To run the program am using cygwin64 Their I post the example of the Output so kindly it should show same like this after following all the instructions Also Pseudo I need with C++ coding.

A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and "time-and-a-half"i.e., 1.5 times their hourly wagefor overtime hours worked), commission workers (who receive $250 plus 5.7% of their gross weekly sales), or pieceworkers (who receive a fixed amount of money for each of the items they produce-each pieceworker in this company works on only one type of item). Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. Each type of employee has its own pay code: Managers have paycode 1, hourly workers have code 2, commission workers have code 3 and pieceworkers have code 4. Use a switch to compute each employee's pay based on that employee's paycode. Within the switch, prompt the user (i.e., the payroll clerk) to enter the appropriate facts your program needs to calculate each employee's pay based on that employee's paycode. The program should run continuously until the user terminates it. An example of ouput is as follows: User Instructions Managers paycode '1' Hourly Workers paycode '2' Comission Worker paycode '3' Pieceworkers paycode '4' paycode = 'O' to terminate the program. Enter paycode=1 Enter fixed weekly salary of manager=350 Weekly Salary = 350.00 Enter paycode=2 Enter weekly hours=45 Enter fixed weekly salary of hourly worker=150 Weekly Salary = 178.12 Enter paycode=3 Enter Commission Worker Gross Weekly Sales=300 Weekly Salary = 267.10 Enter paycode=4 Enter Number of Items Produced=95 Enter Fixed Amount per Item=2.2 Weekly Salary = 209.00 Enter paycode=0 Program is terminated by the user. Submit Pseudo Code C code with detailed comments Implement secure C and best programming practices. #include

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!