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 07:00
Robots with telescoping arms are sometimes used to perform tasks (e.g., welding or placing screws) where access may be difficult for other robotic types. during a test run, a robot arm is programmed to extend according to the relationship r = 3 + 0.5cos(4θ) and the arm rotates according to the relationship θ=−π4t2+πt , where r is in feet, θ is in radians, and t is in seconds. use a computer program to plot the path of tip a in x and y coordinates for 0 ≤ t ≤ 4s.
Answers: 2
question
Computers and Technology, 23.06.2019 08:30
Helen's credit card has an apr of 15.32% and a grace period of 17 days and helen pays her balance in the full every month. if her last billing cycle ended on september 26, 2009, and she made her payment on october 11, 2009, did she owe any interest on her last statement's balance?
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
20 points archie wants to use a reflector as he photographs a newlywed couple. what would he consider in his choice? a. shadow and sunny b. homemade and professional c. lamps and boards d. incident and reflected e. neutral density and enhancement
Answers: 3
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
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
Computers and Technology, 20.08.2019 16:10
question
Social Studies, 20.08.2019 16:10
question
Mathematics, 20.08.2019 16:10
Questions on the website: 13722361