Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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. image text in transcribed

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

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

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions