Question: Lab 2: On Notepat, create (type) a data list as the follow example, 50 lines, and saved under the name EmpRecord.dat in the same file

Lab 2: On Notepat, create (type) a data list as the follow example, 50 lines, and saved under the name EmpRecord.dat in the same file CSC494. This data record will be used in the project later. First line is date that you can make it up.

01/22/2020 Peter Smith 12/14/1984 M 000-11-2222 Y 54000 William White 01/23/1985 M 000-21-2121 N 43.5 35.5 25 a.5 Anna Oaklay 11/24/1962 F 111-22-3456 Y 45300 Joe Bush 05/20/1972 M 234-55-6789 N 23.0 38.9 21.0

==================== (1) Create a Employees data fille as the patten above. First line is mm/dd/yyyy Start from second line, the data are as the paten of the followings: First name, Last name, DOB(mm/dd/yyyy), Sex(M/F), Social security number, Y or N, numbers Y -- stands for "Yes, it is anually pay employee." Then the following amount is the yearly salary. N -- stands for "No, it is not anually pay. It is hourly pay employee." Then the following data are: work-hours in first week, work-hours in the second week, hourly-pay-rate. (2) Create this file in Notepad. Save in the same directory (folder) as of your programs, CSC494. Saved it under the type "ALL FILES", and under the name "EmpRecord.dat". (3) make up 50 records, 10 are annualy pay, 40 are horly pay. Make the entries Y-record in separat lines. Lab 2: On Notepat, create (type) a data list as the follow

Lab 2: On Notepat, create (type) a data list as the follow example, 50 lines, and saved under the name EmpRecord.dat in the same file CSC494. This data record will be used in the project later. First line is date that you can make it up. 01/22/2020 Peter Smith 12/14/1984 M William White 01/23/1985 M Anna Oaklay 11/24/1962 F Joe Bush 05/20/1972 M 000-11-2222 000-21-2121 111-22-3456 234-55-6789 Y N Y N 54000 43.5 35.5 25 a.5 45300 23.0 38.9 21.0 (1) Create a Employees data fille as the patten above. First line is mm/dd/yyyy Start from second line, the data are as the paten of the followings: First name, Last name, DOB (mm/dd/yyyy), Sex(M/F), Social security number, Y or N, numbers Y -- stands for "Yes, it is anually pay employee." Then the following amount is the yearly salary. N -- stands for "No, it is not anually pay. It is hourly pay employee." Then the following data are: work-hours in first week, work-hours in the second week, hourly-pay-rate. (2) Create this file in Notepad. Save in the same directory (folder) as of your programs, CSC494. Saved it under the type "ALL FILES", and under the name "EmpRecord.dat". (3) make up 50 records, 10 are annualy pay, 40 are horly pay. Make the entries Y-record in separat lines

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!