-->
当前位置:首页 > 题库

PROGRAMMING:Payroll output

Luz5年前 (2021-05-10)题库585
(financial application: Payroll) write a program, read the following information, and then print a payroll.
```
Employee's name
Working hours of a week
Hourly rate
Withholding tax rate
old-age pension
```
###Input format:
```
Employee's name
Working hours of a week
Hourly rate
Withholding tax rate
old-age pension
```
###Output format:
Output the specific content of each item, as shown in the following output example
###Input example:
Here is a set of inputs. For example:
```in
Smith
ten
seven point five
zero point two
zero point zero nine
```
###Output example:
The corresponding output is given here. For example:
```out
Employee Name: Smith
Hours Worked: 10
Pay Rate: $7.5
Gross Pay: $75.0
Deductions:
Withholding (20.0%): $15.0
Pension (9.0%): $6.75
Total Deduction: $21.75
Net Pay: $53.25
```







answer:If there is no answer, please comment