/ Forside / Teknologi / Udvikling / Java / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Java
#NavnPoint
molokyle 3688
Klaudi 855
strarup 740
Forvirret 660
gøgeungen 500
Teil 373
Stouenberg 360
vnc 360
pmbruun 341
10  mccracken 320
help !! if you could
Fra : BBQ


Dato : 30-04-01 18:27

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



 
 
Søg
Reklame
Statistik
Spørgsmål : 177501
Tips : 31968
Nyheder : 719565
Indlæg : 6408527
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste