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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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