Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

10-005 > Files > L3DataSHhours1.txt 3DataSHhours1.txt Download L3DataSHhours1.txt (307 Bytes) ents ZO ts 745 1136 1324 1558 8.25 Stark, tony 856 1303 1354 2849 25.07

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
10-005 > Files > L3DataSHhours1.txt 3DataSHhours1.txt Download L3DataSHhours1.txt (307 Bytes) ents ZO ts 745 1136 1324 1558 8.25 Stark, tony 856 1303 1354 2849 25.07 Allen, E1szabeth (Liz) 64419 1032 1601 10.25 Zor-El, a ra ns tions rive 5 400 1030 1144 1324 10 Gozdon, Barbara 1031 1324 1423 2003 52.25 Manh, xi'an coy 717 120s 1430 917 35 Grey, Jear 601 856 2112 1634 9 Banner, bruce 1000 1223 1334 1956 8,75 Keight, iaty ia Boo 10:30 Done 9 of 13 Lab3introSpr19 (Compatibility Mode) ferences Mailings Review View Normal Heading 1 Heading 2 Title Part 2: Given an input file as described below, write a program to read and use the data in the file as described. [The input file name(s) are in part 2.b)lThe data on each line of the file is described as follows: Four milit Jary time values separated by spaces followed by a money amount separated by spaces followed by a last name, followed by a comma, followed by a first name. The data format is: startTime breakStartTime breakEndTime endTime hourlyPay lastName, firstName The four times are starttime a starting time for a work shift breakStartTime- the beginning of a break time breakEndTime-the end of a break time cadTime- the end of a work shift All times are in military time format, occur within one single day, and are in ascending order for this data file. (Later files of input data will have fewer guarantees.) Military time is also called the 24-hour clock and is used for time-keeping around the world. If you do not know what military time or 24-hour clock format is, then look it up. [This lab d values.] loes not use leading zeros on the time 0 FS a. is a floating point amount greater than zero (0). The haurlyPay The lastName is some international last name. Last names are all in the English alphabet. If non- English characters are found, they can be converted to most similar B written as n. La name will be all the characters following the space after t The comma will be a delimiter for the name The firstName multiple words nglish letter, e.g."A' can be st names may have multiple words, e.g. "de la Cruz, "Smythe Jones". The last he pay amount up to the comma will be all the words after the comma until the end of the line. First names can have Example line of data: 011324 423 2003 2.2s Maph, xi'an coy where the values on the line represent 1031 1423 endTime-2003 6 2 5 10-005 > Files > L3DataSHhours1.txt 3DataSHhours1.txt Download L3DataSHhours1.txt (307 Bytes) ents ZO ts 745 1136 1324 1558 8.25 Stark, tony 856 1303 1354 2849 25.07 Allen, E1szabeth (Liz) 64419 1032 1601 10.25 Zor-El, a ra ns tions rive 5 400 1030 1144 1324 10 Gozdon, Barbara 1031 1324 1423 2003 52.25 Manh, xi'an coy 717 120s 1430 917 35 Grey, Jear 601 856 2112 1634 9 Banner, bruce 1000 1223 1334 1956 8,75 Keight, iaty ia Boo 10:30 Done 9 of 13 Lab3introSpr19 (Compatibility Mode) ferences Mailings Review View Normal Heading 1 Heading 2 Title Part 2: Given an input file as described below, write a program to read and use the data in the file as described. [The input file name(s) are in part 2.b)lThe data on each line of the file is described as follows: Four milit Jary time values separated by spaces followed by a money amount separated by spaces followed by a last name, followed by a comma, followed by a first name. The data format is: startTime breakStartTime breakEndTime endTime hourlyPay lastName, firstName The four times are starttime a starting time for a work shift breakStartTime- the beginning of a break time breakEndTime-the end of a break time cadTime- the end of a work shift All times are in military time format, occur within one single day, and are in ascending order for this data file. (Later files of input data will have fewer guarantees.) Military time is also called the 24-hour clock and is used for time-keeping around the world. If you do not know what military time or 24-hour clock format is, then look it up. [This lab d values.] loes not use leading zeros on the time 0 FS a. is a floating point amount greater than zero (0). The haurlyPay The lastName is some international last name. Last names are all in the English alphabet. If non- English characters are found, they can be converted to most similar B written as n. La name will be all the characters following the space after t The comma will be a delimiter for the name The firstName multiple words nglish letter, e.g."A' can be st names may have multiple words, e.g. "de la Cruz, "Smythe Jones". The last he pay amount up to the comma will be all the words after the comma until the end of the line. First names can have Example line of data: 011324 423 2003 2.2s Maph, xi'an coy where the values on the line represent 1031 1423 endTime-2003 6 2 5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

outline some of the current issues facing HR managers

Answered: 1 week ago