Save the punch in or punch out date

Assignment Help Computer Engineering
Reference no: EM13708711

Question: Can you please help me to solve this problem?

Punch in/out Screen

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 time-clock (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 show 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: include the day of the week to the data saved.

GUI

The main screen shall:

  • Display 4 options

- Add New Employee - Displays new employee screen

- Punch In/Out - Displays punch in/out screen

- Report - Displays report screen

- Exit - Exits the program

  • Display an input field called "Choice" to input one of the four options.
  • Inputting an incorrect option shall display a prompt indicating that the input was invalid and to try again.
  • Optional functionality: If the user enters an incorrect value more than 3 times, display a prompt that the program is exiting and close the program.

Reference no: EM13708711

Questions Cloud

What is the pressure when the volume of the gas : At 46c a sample of ammonia gas exerts an pressure of 5.3 atm. What is the pressure when the volume of the gas is reduced to one fourth of the original value at the same experiment
Display the complete fibonacci sequence : Display the complete Fibonacci sequence until you reach a value less or equal than 1,000,000 (one million) - display the division of the number by the previous one for the complete sequence.
What is the molecular weight of a nonelectrolyte : Question- What is the molecular weight of a nonelectrolyte if 5.0 g dissolved in 100.0 g of water has a freezing point of -0.25°C?
Calculate qrxn for 1 g of sodium metal and delta hrxn : Calculate qrxn for 1 g of sodium metal, and Delta Hrxn in (KJ ) for the reaction as written. Also, assume the density of water is 1.00g/mL throughout this temperature range and that the loss of H2O is minimal
Save the punch in or punch out date : Display an input field called "Choice" to input one of the four options - Inputting an incorrect option shall display a prompt indicating that the input was invalid and to try again.
What volume should dilute of an cucl2 solution : Question- To what volume should you dilute 123 mL of an 8.05 M CuCl2 solution so that 51.0 mL of the diluted solution contains 4.21g CuCl2?
What mass of iron oxide of iron : Question- What mass (in grams) of iron(III) oxide contains 47.3g of iron? Iron(III) oxide is 69.94% iron by mass.
A few drops of phenolphthalein indicator dissolved in water : Question- A flask contains .597 g of acid and a few drops of phenolphthalein indicator dissolved in water. The buret contains .320 M NaOH. 10 ml of base was added to solution and it turned pink.
Show that the grammar is unambiguous : What does it compute? Prove it, showing how you derive the loop invariant - Show that the grammar is unambiguous

Reviews

Write a Review

Computer Engineering Questions & Answers

  Birt is an open source eclipse-based reporting system

BIRT is an open source Eclipse-based reporting system that integrates with your Java/J2EE application to produce compelling reports BIRT provides core reporting features as in report layout, data access and scripting.

  Find percentage of the total votes received by candidate

write down a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidates name, the votes received by that candidate, and the p..

  You have been asked to be the project manager for the

you have been asked to be the project manager for the development of an information technology it project. the system

  Write down a css rule

Write down a CSS rule

  Digital technique for transmission of voice-telephone system

State four benefits and one de-merits of utilizing the digital (rather than analog) techniques for transmission of the voice-telephone signals.

  Your boss has just heard about some nefarious computer

your boss has just heard about some nefarious computer activities called ping sweeps and port scans. he wants to know

  Design a "clear" button that clears all of the hours worked

make a "Calculate" button to perform the pay calculations for all of the employees.

  Make procedures are followed by database development teams

What is the key reason(s) that make many developers skip over the documentation and proper design procedures? As a manager, how do you ensure that the proper database design procedures are followed by database development teams?

  Write a program that demonstrates the coin class

Write a program that demonstrates the Coin class. The program should create an instance of the class and display the side that is initially facing up.

  How the core issue depend on who wrote the code

how the core issue depend on who wrote the code

  Research best practices for system integration approaches

1.research best practices for system integration approaches such as the systems development life cycle sdlc approach

  Questionafter front-office network at xyz corp is set up an

questionafter front-office network at xyz corp. is set up an accountant realizes that if loading dock connected to the

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