Reference no: EM13706596
Question: A company hires you to prepare a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock. The time clock shall keep a history of an employee's hours for a two-week pay period. The application shall have the subsequent functionality:
The 'punch in/out screen' shall:
- Save the punch in or punch out date and time of the employee to a memory object (or file).
- The date and time, 'I' for Punched In or 'O' for punched out along with the Employee ID shall be saved to a memory object called time-clock (or file called timeclock.txt).
- The recorded date for 'punched in' and 'punched out' shall be the method for matching corresponding records.
- The program shall test to ensure that there is a 'Punched in' record for the corresponding day before a 'punched out' record is saved. If none is found, prompt the user to enter a 'punched in' time.
- When the user has punched in or out, the program shall display a message indicating that the employee has punched in or out, the employee ID, date and time.
- In console based applications the screen shall display "Press any key to continue"
- In console based applications the program shall return to the main menu after a key is pressed when the "Press any key to continue" prompt is displayed.
- Optional functionality: Add the day of the week to the data saved.
PLEASE ensure it compiles and write the full program to receive full credit. Thank you so much for your help.
|
Write a function that takes two point arguments
: Write a function that takes two POINT arguments and returns the midpoint between them and define a function distance() that takes two POINT arguments and returns the distance between them.
|
|
Show the set of positive powers
: Let S show the set of positive powers of 3 , i.e. S = {3, 9, 27, 81,...}. Find if S and N(Natural Numbers) are equipotent. Justify your answer.
|
|
Plot the vertices of a n-sided polygon
: Using Java, Write a code that reads an integer n, followed by the coordinates of each of n points that are the vertices of a n-sided polygon. Plot the vertices and the lines that make up the polygon.
|
|
Write a number guessing game in java
: ou have to write a number guessing game in Java. The program should have three difficulty levels, each one having a different maximum number. After the user selects a difficulty,
|
|
History of an employees hours
: The time clock shall keep a history of an employee's hours for a two-week pay period. The application shall have the subsequent functionality:
|
|
Gaussian elimination
: The solution should be the vector x and flag which takes a value of 0 if the algorithm was executed completely and 1 if it wasn't.
|
|
Print out the characters in the string
: White a program that prompts the user to input a String and then print out the characters in the string one per line.
|
|
Output the number of vowels
: Prompt the user to enter a string, and using a loop, count and output the number of vowels, and consonants the string contains. (You have to find methods from class.)
|
|
How many hours to spend on each project
: Consider it's nearing the end of the semester and you're taking n courses, each with a final project that still has to be done.
|