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 21:10
Dameas communication challenge is due to which factor
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
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
Mathematics, 10.03.2021 21:40
question
Mathematics, 10.03.2021 21:40
question
Mathematics, 10.03.2021 21:40
Questions on the website: 13722361