Write a program to track hourly employee departure

Assignment Help JAVA Programming
Reference no: EM13708049

I need 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 given 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.

You need to prepare a program to track hourly employee arrival and departure times from work.

Reference no: EM13708049

Questions Cloud

Converts a number from binary to decimal : Write a program that Converts a Number from Binary to Decimal by using reading keyboard input, nested if statements, nested loops, Strings. Also ensure it's in java please! Thanks so much!
Find the clock cycles required in both cases : What is the global CPI for each implementation and find the clock cycles required in both cases."
What is css : Create a HTML page, answer the given questions - What is CSS
Write a program in c of fibonacci series : Write a program in c of Fibonacci series with and without using fibo func, both
Write a program to track hourly employee departure : 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.
Create a code with two functions : You have to create a code with two functions. The first function takes a string as an argument and returns a Boolean that indicates whether or not the number of parentheses is balanced (utilizing a stack).
Design a pseudo code to create the program : Design a pseudo code to create, debug and execute the program. The documentation should include your name, course, program name, due date, programming language used
Calculate the invoice for a client and then print out an inv : Prepare a program in java that can calculate the invoice for a client and then print out an invoice to the screen.
Mips assembly instruction to set the pc : Is it possible to use the jump (j) MIPS assembly instruction to set the PC to the address as 0x4000 0000 and Is it possible to use the branch-on-equal (beq) MIPS assembly instruction to set the PC to this same address?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Driveway is a "last-in, first-out" stack. of course

Driveway is a "last-in, first-out" stack. Of course, when a car owner retrieves a vehicle that wasn't the last one in, the cars blocking it must temporarily move to the street so that the requested vehicle can leave. Write a program in Java that m..

  Write a method heading for each method

Write a method heading for each method, write preconditions and postconditions for each method.

  Calculate the optimal position of the large pipeline

Your task is to calculate the optimal position (on the y-axis) of the large pipeline, so that the total length of all smaller pipelines is shortest

  Modeling the caves

Assignment 2 Description:  You are a mighty warrior, and armed with your trusty bow and 3 arrows, you enter The Caves in search of the mighty Wumpus. If you shoot the Wumpus, you are victorious and the masses will praise you, but if you stumble upon ..

  Elements from a html document

Function test Count List Elements should simply retrieve an array of all list elements on the page and assert that their total count is 3.

  1 rock-paper-scissors simplejavaproblems 1-3 are based on

1 rock-paper-scissors simple.javaproblems 1-3 are based on the rock-paper-scissors game. if you are unfamiliar with

  Task 1a define and describe the steps to program

task 1a. define and describe the steps to program development.b. what is an algorithm? discuss and provide examples

  Write a recursive program

Write a recursive program to compute the number of ways in which an integer k can be written as sum

  Common to perform loops that vary the loop control

When an application contains an array and you want to use every element of the array in some task, it is common to perform loops that vary the loop control variable from 0 to one less than the size of the array.

  Button to increase or decrease the number of the balls

Simulates a bouncing ball. Extend to allow mulitple balls. You can use the +I or -I button to increase or decrease the number of the balls and use teh Suspend and Resume buttoms to freeze the balls or resume bouncing. For each ball, assign a random c..

  Write java application to input three integers from user

Write Java application that inputs three integers from user and displays sum, average, product, smallest, and largest of the numbers.

  Create a japplet

Create a JApplet that contains a JLabel and JButton. You'll create a JButton that will automatically change font typeface, style, and size when clicked by the user.

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