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

  Simple java application that uses the string

Create a simple Java application that uses the String class and/or the StringBuffer class and at least 4 of the class methods. Show the code, demonstrate it works properly and describe what it is doing.

  Create simulation by java language for single-server queue

Suppose that customer inter-arrival times are exponentially distributed and service times are normally distributed. Create simulation by java language for this problem and view all parametre?

  Write java program to receive input and displayed interest

Write a Java program that receive some input and displayed the interest. Format the number into 2 decimal places. Using loop is an advantage.

  Implement a shopping cart class with user interface

project will be to implement a shopping cart class with user interface (UI) that contains main() in Net Beans. The UI class will be used to perform user input/output and to invoke the appropriate methods of shopping cart class. When your program star..

  Graphicsframe class

This program makes use of the GraphicsFrame class and the Drawable interface. Your missions is to create the class Airplane. Each Airplane object should store the following information (fields): manufacturer modelNumber maximumSpeed // in knots maxim..

  Java program for real estate agent

Write down java program for real estate agent. Program must perform the following tasks: ask users for average house price for the each of past 5 years for single family residence of 1500 square feet.

  Sets a loop to find 10 random generated

Write a java code that 1) uploads a file 2) sets a loop to find 10 random generated words from the file and then search those words by a. IndexSequential Method b. indexBinary Method. then, report how much time both methods took.

  Create a gui version of the game mini sudoku.

Each row has the numbers 1 to 6,Each column has the numbers 1 to 6,Each group of 2 rows by 3 columns also has the numbers 1 to 6.

  Java code using jframe

Write a Java code using JFrame. This code needs to manipulate 4 shapes(2 rectangles and 2 squares) in a 400x400 JFrame. This needs to manipulate the shapes in 3 different ways, using 3 different methods. One for translating a shape, one for proportio..

  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.

  Huge integer class

Huge Integer Class) Create a class HugeInteger which uses a 40-element array of digits to store integers as large as 40 digits each. Provide methods parse, toString, add and subtract. Method parse should receive a String, extract each digit using met..

  Create a class safestack that implements a stack of strings

Create a class SafeStack that implements a stack of strings

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