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

  Complete the twins() method

Complete the twins() method, which takes an integer argument n and prints all the sets of twin primes that are less than n, one pair per line

  Programming exercises

Programming Exercises 1. Write an application named BadSubscriptCaught in which you declare an array of 10 first names. Write a try block in which you prompt the user for an integer and display the name in the requested position.

  Write a while loop that lets the user enter a number

1) Write a while loop that lets the user enter a number. The number should then be multiplied by 10, and stored in a variable called product. The loop should then iterate as long as product contains a value less than 100.

  Program should assign a seat in the first class

If a person enters 1, your program should assign a seat in the first class (rows 1 - 3). If a person enters 2, your program should assign a seat in business class (rows 4 - 7). If a person enters 3, your program should assign a seat in economy class ..

  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.

  Simulate some people catching fish in a lake in java program

In this project, you will simulate some people catching fish in a lake. The purpose of the assignment is to get used to using Arrays as well as getting more experience in having objects interact together.

  Display student details and classes in applet

Display student details and classes they have enrolled in Applet. The Applet should have following features. Update and View.

  Write java program which will permit user to input data

Write the Java Program which will permit the user to input data. The data will be validated using a loop that requires the user to input the data until it is correct or in the correct range. T

  Java program which demonstrates cellular automata

Using the internet, locate a Java program (or Java applet) which demonstrates "Cellular Automata", in particular "the Game of Life".

  Write program in java for total amount of customer-s order

Write down program in Java which would ask for clerk to enter total amount of customer's order. Program will then compute seven percent (7%) sales tax.

  Write the method called print triangle type.

Write the method called printTriangleType. This method accepts three integer arguments representing the lengths of the sides of a triangle and prints the type of triangle that these sides form. Here are some sample calls to printTriangleType

  Java program for creating a order menu

Assume your consulting company has been hired to construct a program that meets the following requirements.

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