Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab3introSpr19 (Compatibility Mode) yout References Mailings ReviewViow AaBbCeD Part 2: write a in the file as described. [The input file name(s) are in part 2.b)The

image text in transcribed
image text in transcribed
Lab3introSpr19 (Compatibility Mode) yout References Mailings ReviewViow AaBbCeD Part 2: write a in the file as described. [The input file name(s) are in part 2.b)The 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 hourly Pay 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 endTime-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 does not use leading zeros on the time values] References Mailings Review View Normal The hourlyPay is a floating point amount greater than zero (0). 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 English letter, e.g. 'h'can be written as 'n. Last names may have multiple words, e.g. "de la Cruz, "Smythe Jones". The last name will be all the characters following the space after the pay amount up to the comma The comma will be a delimiter for the name. The firstName will be all the words after the comma until the end of the line. First names can have multiple words Example line of data: 1031 1324 1423 2003 52.25 Hanh, xi'an Coy where the values on the line represent startTime-1031 breakStartTime-1324 breakEndTime- 1423 endTime- 2003 hourlyPay.-52.25 lastName- "Manh first Name-"Xi'an Coy 4 F2

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

Recommended Textbook for

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions

Question

What are the purposes of collection messages? (Objective 5)

Answered: 1 week ago