C program
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
C
![Withholding Tax
8% of Gross Pay
6.5% of Gross Pay
2.5% of Gross Pay
Status Code
Insurance
10% of Gross Pay
5% of Gross Pay
2% of Gross Pay
OUTPUT LAYOUT (2nd screen display)
ABC COMPANY
Cebu City
-2-
***** PAY SLIP *****
-2-
EMPLOYEE NO.
STATUS
EMPLOYEE NAME
NO. OF HRS WORKED:
poCITION
-1-
RATE PER HOUR
OVERTIME PAY
GROSS PAY
-1-
DEDUCTIONS
1.
Withholding Tax :
2.
SS
3.
Med:
4.
Insurance :
TOTAL DEDUCTIONS
-1-
NET PAY](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F633e61be-3f98-48bf-a8c7-5bf4646535ea%2Fe6fa3e5b-11ca-4e38-a2fc-db968a3ea428%2Fehno2jo_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Withholding Tax
8% of Gross Pay
6.5% of Gross Pay
2.5% of Gross Pay
Status Code
Insurance
10% of Gross Pay
5% of Gross Pay
2% of Gross Pay
OUTPUT LAYOUT (2nd screen display)
ABC COMPANY
Cebu City
-2-
***** PAY SLIP *****
-2-
EMPLOYEE NO.
STATUS
EMPLOYEE NAME
NO. OF HRS WORKED:
poCITION
-1-
RATE PER HOUR
OVERTIME PAY
GROSS PAY
-1-
DEDUCTIONS
1.
Withholding Tax :
2.
SS
3.
Med:
4.
Insurance :
TOTAL DEDUCTIONS
-1-
NET PAY
![Design and develop the program to input the following:
INPUT LAYOUT (Data Entry-1 screen display)
EMPLOYEE NUMBER
EMPLOYEE NAME
STATUS CODE
POSITION CODE
NO. OF HOURS WORKED
RATE PER HOUR
After the data are entered, print the required output and actual word for code.
FOR STATUS CODE
S- Single
M - Married
H-Head of the family
Otherwise - Invalid
FOR POSITION CODE
A - Manager
B- Department Head
C- Officer in Charge
D- Supervisor
Otherwise - Invalid
COMPUTE FOR THE FOLLOWING:
Gross Pay = no. of hours worked * rate per hour (if no. hours is 8 hours or less)
Net Pay = Gross Pay - Total Deductions
Total Deductions Wtax + SSS + Med + Insurance
An employee is paid based on the rate he had. Any overtime is paid double plus
50% from its regular rate per hour.
From the Gross Pay each employee is withheld with the following deductions:
Gross Pay
SS
Med
Less than 3000
5% of Gross Pay
8% of Gross Pay
12% of Gross Pay
15% of Gross Pay
18% of Gross Pay
20% of Gross Pay
25.00
At least 3000 but < 5000
35.00
At least 5000 but < 10000
45.00
At least 10000 but < 15000
55.00
At least 15000 but < 20000
65.00
20000 and up
75.00](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F633e61be-3f98-48bf-a8c7-5bf4646535ea%2Fe6fa3e5b-11ca-4e38-a2fc-db968a3ea428%2Fp4xj0kf_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Design and develop the program to input the following:
INPUT LAYOUT (Data Entry-1 screen display)
EMPLOYEE NUMBER
EMPLOYEE NAME
STATUS CODE
POSITION CODE
NO. OF HOURS WORKED
RATE PER HOUR
After the data are entered, print the required output and actual word for code.
FOR STATUS CODE
S- Single
M - Married
H-Head of the family
Otherwise - Invalid
FOR POSITION CODE
A - Manager
B- Department Head
C- Officer in Charge
D- Supervisor
Otherwise - Invalid
COMPUTE FOR THE FOLLOWING:
Gross Pay = no. of hours worked * rate per hour (if no. hours is 8 hours or less)
Net Pay = Gross Pay - Total Deductions
Total Deductions Wtax + SSS + Med + Insurance
An employee is paid based on the rate he had. Any overtime is paid double plus
50% from its regular rate per hour.
From the Gross Pay each employee is withheld with the following deductions:
Gross Pay
SS
Med
Less than 3000
5% of Gross Pay
8% of Gross Pay
12% of Gross Pay
15% of Gross Pay
18% of Gross Pay
20% of Gross Pay
25.00
At least 3000 but < 5000
35.00
At least 5000 but < 10000
45.00
At least 10000 but < 15000
55.00
At least 15000 but < 20000
65.00
20000 and up
75.00
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY