subject

The payroll department keeps a list of employee information for each pay period in a text file. the format of each line of the file is the following:

write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period.

the report should be in tabular format with the appropriate header.

each line should contain:

an employee’s name

the hours worked

the wages paid for that period.

an example of the program input and output is shown below:

enter the file name: data. txt

name hours total pay
lambert 34 357.00
osborne 22 137.50
giacometti 5 503.50
python code .

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:40
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
You know the right answer?
The payroll department keeps a list of employee information for each pay period in a text file. the...
Questions
question
English, 02.03.2021 19:10