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:

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...
icon
Related questions
Question

how to program this in c++(TurboC) 

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
M
H
2% of Gross Pay
OUTPUT LAYOUT (2nd screen display)
ABC COMPANY
Cebu City
-2-
***** PAY SLIP*****
-2-
EMPLOYEE NO.
STATUS
:
NO. OF HRS WORKED:
EMPLOYEE NAME
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
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 M H 2% of Gross Pay OUTPUT LAYOUT (2nd screen display) ABC COMPANY Cebu City -2- ***** PAY SLIP***** -2- EMPLOYEE NO. STATUS : NO. OF HRS WORKED: EMPLOYEE NAME 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
ΕMPLOYEΕ ΝΑMΕ
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
Less than 3000
ss
Med
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
20000 and up
65.00
75.00
Transcribed Image Text:Design and develop the program to input the following: INPUT LAYOUT (Data Entry - 1" screen display) EMPLOYEE NUMBER ΕMPLOYEΕ ΝΑMΕ 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 Less than 3000 ss Med 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 20000 and up 65.00 75.00
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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…
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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY