subject

The Babysitters Club Employment Agency has decided to computerize their payroll. A babysitter earns a specific fee per hour until 9:00 PM (while the children are awake and active), a lower rate between 9:00 PM and midnight (after bedtimes and the babysitter can study), and a higher fee after midnight (when babysitting cuts into prime sleeping time).They maintain two data files are one for the employees and one for their data Personnel data fileemployee no. lastname, firstnamestreet addresscity, state zipcodehourly rate before 9:00 PM hourly rate between 9:00 PM and midnight hourly rate after midnight¼Payroll data fileemployee no. number of days employedstarting time and ending time for each day¼Write a program that reads the starting time and ending times (in hours and minutes) for a babysitter and computes the babysitter’s fee. Assume all times are between 6:00 PM and 6:00 AM. Your output should consist of an alphabetical list (by last name) of each babysitter and their pay. Be sure to use the structured programming techniques you have learned in prior classes. Namely, use methods and maximize legibility by using proper indentation, spacing, and comments. Do not forget to provide program documentation. The Data below is the data you should use to do the assignmentPersonnel file Data0001McGill, Stacey231 Maple AvenueStoneybrook, Connecticut 301225.50 4.00 6.000002Spier, Maryann401 Orange LaneStoneybrook, Connecticut 3012210.00 8.00 15.000003Thomas, Kristy222 Blossom Blvd. Stoneybrook, Connecticut 301225.00 4.00 6.000004Schafer, Dawn131 Apple GardensStoneybrook, Connecticut 301224.00 3.00 5.000005Pike, Mallory656 Brook LaneStoneybrook, Connecticut 301221.75 1.00 1.250006Ramsey, Jessi545 Greenleaf StreetStoneybrook, Connecticut 3012210.00 10.00 10.000007Kishi, Claudia303 Ginger Blvd. Stoneybrook, Connecticut 301225.00 2.50 7.50Payroll file data000128:00 10:009:00 11:30000216:00 2:00000328:00 10:009:00 11:30000439:30 1:006:00 9:007:15 8:15000527:00 5:306:00 1:45000639:30 1:007:00 9:001:15 3:15000727:00 3:309:00 1:45

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 04:00
Laire writes a letter to her grandmother, in which she describes an amusement park she visited last week. she adds pictures of that place in her letter. which feature of a word processing program will claire to remove unwanted parts of the pictures?
Answers: 3
question
Computers and Technology, 23.06.2019 21:00
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
question
Computers and Technology, 24.06.2019 08:20
Which type of entity describes a fundamental business aspect of a database? a. linking b. lookup c. domain d. weak
Answers: 3
question
Computers and Technology, 24.06.2019 10:20
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
You know the right answer?
The Babysitters Club Employment Agency has decided to computerize their payroll. A babysitter earns...
Questions
question
Mathematics, 20.02.2020 06:24
Questions on the website: 13722361