50 pts.
 I need to create and run this on the CMD and make a program.
how can i do this program please help me T_T A module that will summarize logins and logouts of each employee. This module will use logs.txt as data source and produce another text file summary.txt. Summary.txt should contain but not limited to Employee's ID; the number of minutes late; the number of hours work.

Software/Hardware used:
ASKED: August 15, 2011  12:13 PM
UPDATED: March 31, 2012  6:42 PM

Answer Wiki:
Thank you for visiting ITKE. We are happy to help you with solving specific IT questions, but need as much information as possible to do so. Let us know about the problem you are trying to solve, how you are approaching it and what work you’ve done so far, and we can help guide you in the right direction.
Last Wiki Answer Submitted:  May 14, 2013  8:33 pm  by  Chris Leonard   2,600 pts.
All Answer Wiki Contributors:  Chris Leonard   2,600 pts. , Darkcurse07   50 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Dark
What environment and/or programming language are you working in?
What are employee’s logging into?
Phil

 44,180 pts.

 

It would appear to be a 3 step process.
1. Define the data elements you want in the sunnary.txt file
2. Create SQL statements using variables to insert data from teh logs.txt file into the summary.txt file.
3. Create a program (CMD) that will allow input of the desired variables and pass them to program created in step #2. Then print or do what ever you desire with the data in summary.txt

Adding to Philip’s comment, it is hard to get into much more detail until we get more specifics from you.

 32,855 pts.

 

Yes more details are needed, but, this could be a homework. Reading from text files and writing the results to text files could not be the best approach on a real system.

 63,535 pts.

 

Sample user interface

Pahirapan Corporation

Enter Employee ID: aannn
Enter Date: mm/dd/yy
Enter Login: hh:mm
Enter Logout: hh:mm

The module should be able to check for invalid time
The module should append the valid record a text file logs.txt

AND I USE JAVA

 50 pts.

 

Asking others to do your homework is not a good idea.

However, I’m sure people would try to help you if you show what you have done so far, and ask specific questions or post the specific problems you have found when trying to solve the problem by yourself.

 63,535 pts.

 

i already doing my own and im just asking some opinion so if i saw i’ll add it on my program that i resently doin not just asking someone and wait to do it but not doing my part..

 50 pts.

 

Totally agree with Carlosdl, you really need to do it yourself.

 3,175 pts.

 

And no one works over midnight? So there is never a different day and endtime < starttime?

Phil

 44,180 pts.