Write a program to track hourly employee arrival

Assignment Help JAVA Programming
Reference no: EM13168620

JAVA SOURCE CODE

A company hires you to write 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 following 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 timeclock (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.

Reference no: EM13168620

Questions Cloud

Compute the wavelength of light that is absorbed : Caculate the wavelength of light( in nanometers) that is absorbed when the electron in a He+ ion goes from the n=2
Consider a cpu that implements four parallel : Consider a CPU that implements four parallel fetch-execute pipelines for superscalar processing. Show the performance improvement over scalar pipeline processing and no-pipeline processing, assuming an instruction cycle similar to figure 4.1 in th..
Explain one mole of an ideal gas is heated : One mole of an ideal gas is heated from 100 C to 322.4 C at constant VOLUME. Report the heat added (in kJ and three significant digits) to this gas to achieve this heating
How should mitigation proceed : If strong oxidizer spill occurs in the vicinity of barrels of flammable chemicals, with one of the barrels of flammable chemicals possible leaking as well, should water be used on the incident or how should mitigation proceed?
Write a program to track hourly employee arrival : A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock.
Briefly describe how parameter passing by value : Briefly describe how parameter passing by value and by reference are accomplished in memory. Write statement 1 to call Method A below. Write statement 2 to call Method B. Which method uses pass by value? Which method uses pass by reference?
How many moles of the gas are in the container : the gaseous product of a reaction is collected in a 25L container at 27degrees celsiu. the pressure in the container is 300.0 kPa. how many moles of the gas are in the container.
What is the chief product of dehydration : Neopentyl alcohol, (CH3)3CCH20H,cannot be dehydrated to an alkene without rearrangement. What is the chief product of dehydration? What product would you expect from addition of deuterium chloride to 2-cyclohexyl-4methyl-2-pentene?
What is the size of data in the ipv4 datagram : An IPv4 header bytes in Hex notation is given below: 45 c0 00 38 9b 3e 00 00 ff 01 fd 3b 80 99 90 01 80 99 91 56.Answer the following questions about the header:What is the size of data in the IPv4 datagram?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd