Display each employee number and ask the user to enter

Assignment Help Computer Engineering
Reference no: EM132178553

Well this must be a really hard question because this is my forth time asking it because all the answers have been incorrect, good luck:) I am freaking out a little inside.

Program is to be written In C++, The output should look like the screen shot. It should allow the user to continue to ask the user to enter all employee ID's until done and then prompt the user to enter the hours and pay rate for each employee ID.

Please help:( Can you please run the program to make sure the output is just like the screenshot please? It needs to have the output of the program ran that is in the screenshot provided, thanks:)

Advanced Linked Lists

You have been hired by Employees, Inc to write an employee management system. The following are your specifications:

Write a program that uses the following linked lists:

empId: a linked list of seven long integers to hold employee identification numbers.

hours: a linked list of seven integers to hold the number of hours worked by each employee

payRate: any data structure (your choice) of seven doubles to hold each employee's hourly pay rate

wages: a linked list of seven doubles to hold each employee's gross wages

The program should display each employee number and ask the user to enter that employee's hours and pay rate. It should then calculate the gross wages for that employee (hours times pay rate) and store them in the wages array. After the data has been entered for all the employees, the program should display each employee's identification number and gross wages.

Input Validation: Do not accept negative values for hours or numbers less than 15.00 for pay rate.

When the program starts, it should ask the user to enter the employee IDs. There should be no limit on the number of IDs the user can enter.

The following is an example of the program ran:

Enter an employee ID number: 5658845

Do you want to enter another one? (y or n) y

Enter an employee ID number: 4520125

Do you want to enter another one? (y or n) y

Enter an employee ID number: 7805122

Do you want to enter another one? (y or n) n

Enter the requested data for employee number 5658845.

Hours worked: 23

Pay rate: 12.34

Pay rate must be 15.00 or more. Please re-enter: 16.78

Enter the requested data for employee number 4520125.

Hours worked: 32

Pay rate: 23.45

Enter the requested data for employee number 7805122.

Hours worked: 21

Pay rate: 23.45

Employee Wages

Employee # 5658845 $385.94

Employee # 4520125 $750.40

Employee # 7895122 $492.45

Reference no: EM132178553

Questions Cloud

Unique requirements of project teams : What are some unique requirements of project teams and other stakeholder engagement during a PM management environment including virtual collaboration
Parametric and bottom-up estimating : Compare and contrast the advantages and disadvantages of analogous, parametric and bottom-up estimating.
Why does a web server need to know the address : Why does a web server need to know the address, browser type, and cookies for a requesting client'?
What is the most significant change evaluation : What is the most Significant Change Evaluation (MSC) Method or technique?
Display each employee number and ask the user to enter : The program should display each employee number and ask the user to enter that employee's hours and pay rate.
What are the problems in some industry : What are the problems in some industry that haven't been able to progress to your satisfaction?
Add the linux firewall rules to enforce the protection : Show the EXACT commands of iptables that add the Linux firewall rules to enforce the protection.
Early supplier involvement : The value added to an organization when Early Supplier Involvement is implemented effectively can not be understated. Could there be some indicators that assist
Explain the issues you will raise : Explain the issues you will raise, and who will you speak to, as you clarify the limits of your responsibilities as project manager

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