Program to track hourly employee arrival and departure time

Assignment Help JAVA Programming
Reference no: EM13165098

THE 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 ‘report screen’ shall:

(Hint: If you are writing a console application, java.io.PrintWriter may be useful.)

Allow the user to display a work history report for an individual or for all employees for the two weeks prior to the report request.

The screen shall display a prompt to enter ‘I’ for individual employee report, ‘A’ for all employees report.

If the selected value is ‘I’, prompt the user to enter the employee’s ID number.

If ‘I’ is selected the display shall show the employee’s name and ID, list out each day worked in chronological order, the number of hours worked that day and a total number of hours worked in the two week period.

The report shall prompt the user to re-enter an employee ID of it does not exist in the employee file.

Optional Functionality: If the user inputs a nonexistent employee ID more than 3 times, prompt the user and then return to the main screen.

If the selected value is ‘A’, output the information to the console for the past two weeks.

The end of the report shall display “Press any key to continue” to return to the main menu.

Optional Functionality: Allow the user to print the report to a printer.

Reference no: EM13165098

Questions Cloud

Calculate the heat needed : Calculate the heat needed at 0 degrees celsius to make each of the following changes of state. kilocalories to freeze 285 of water.
State what volume of ammonia gas measured to neutralize : What volume of ammonia gas measured at 762 mm Hg and 21.0 °C must be absorbed by the same solution to neutralize the HCl?
Create account management with java : Create account management with java gui using a MVC model.create withdraw, create account, deposit , trasfer ,balance , on the main fram. and On pressing one of these buttons a window "Start deposit/withdraw for ac count: account ID suppose to sho..
What is the atomic mass of unknown element x : What is the atomic mass of unknown element X if it has the following isotopic composition.
Program to track hourly employee arrival and departure time : THE JAVA SOURCE CODEA 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-w..
Client expresses concern-bone marrow aspiration : A client expresses concern over the discomfort expected during the bone marrow aspiration. The nurse can best address these concerns by informing the client
What is the new concentration of the acid : A bottle of 5.5 M acid has 21.3 mL remaining in it. If the acid is diluted to 700 mL, what is the new concentration of the acid?
Write the footnote for danerys year-end financial statement : Write the footnote for Danerys' year-end financial statements related to goodwill and other intangible assets. Assume Danerys had no intangible assets prior to the acquisition.
Calculate the molar mass of the biomolecule : For carbon tetrachloride, the boiling point constant is 5.03°C · kg/mol, and the boiling point of pure carbon tetrachloride is 76.50°C.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Java program ask user to enter 10-character telephone number

Write a Java program that asks the user to enter a 10-character telephone number in the format XXX-XXX-XXXX. The program should display the telephone number with any alphabetic characters

  Tracer for java

Implementation of a tracer of Java objects and the tracer can be invoked from any point of a Java program, accepting an object as argument.

  Write a recursive instance method

Write a recursive instance method

  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!.

  Uses a 2-d array to store the highest and lowest temperature

Write a program that uses a 2-D array to store the highest and lowest temperatures for each montjh of the year. The program should output the average high, average low, and highest and lowest temperatures of the year. Your program must consist of ..

  Design an adt for a two-color

Design an ADT for a two-color, double-stack ADT that consists of two stacks one "red" and one "blue" and has as its operations color-coded versions of the regular stack ADT operations.

  Write a program that shows the current time and date

Write a program that shows the current time and date

  Write java program to evaluate postfix expressions

Write a java program to evaluate postfix expressions containing complex numbers using a stack. This program should contain two classes.

  Create a java class called samearraysexception

Create a Java class called SameArraysException that extends the Exception class.

  Web application that allows user to specify six lottery nums

Write a web application that allows a user to specify six lottery numbers. Generate your own combination on the server, and then print out both combinations together with a count of matches.

  Write a java applet for grade of gas in costco gas station

Write a java applet (not a java application program) for costco gas station. The applet will first ask you whether you are a costco customer, then the grade of gas you want to use.

  A method that takes a two-dimensional array

A method that takes a two-dimensional array of int's as a parameter and searches the array for the second parameter, returning true if the second parameter matches any of the integers in the array, and false otherwise.

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