Dear all,
Can anybody help me to completed before the end of this week.
Write a Java prog. create a file
Employee.dat: ID, empName, Date_of_brith, Salary, Term (part time/
full time).
shift.dat: ID, login time, logout time, Term( P/T)
Requirements Specification.
1. display a menu which allows the shift mgr to choose toregister and
employee for starting work, de-register an employee for finishing work,
and quit the program.
2. display an entry screen for the shift manager to enter an employee
identity code. use the input employee identity code as the search key to
retrieve the employee record from the direct access data file named
Employee.dat. Verify the existence of the employee(assume the employee
identity code starting from 1001) and reject any invalid identity
number. if the employee identity number is valid, record the employee
identity number and the start working time in the next available entry
of the shift register.
3. if an employee finishes work, store the employee identity code, the
start time and the finish time in the sequential data file named
Shift.dat, and remove the employee entry from the shift register.
4. Provide an enquiry to show the employee identity code, the start
working time and the entry number on the register of each employee
working in the shift.
5. Produce a report which shows the employees working in a shift. the
primary details include the employee identity code, the start working
time and the finish working time.
THANKS & Regards,
BBQ
|