Employee identification numbers

Assignment Help Basic Computer Science
Reference no: EM131559398

Overview

In C++ the program must use the following parallel arrays:

  • empId: An array of five strings to hold employee identification numbers. 
  • The array should be initialized with the following numbers: 
  • S45601564 S15486576 S12487658 S02145673 S00154657
  • hours: An array of five Integers to hold the number of hours worked by each employee.
  • payRate: An array of five doubles to hold each employee's hourly pay rate.
  • wages: An array of five doubles to hold each employee's gross wages.

Instructions

The program should relate the data in each array through the subscripts. For example, the number in element 0 of the hours array should be the number of hours worked by the employee whose identification number is stored in element 0 of the empId array. That same employee's pay rate should be stored in element 0 of the payRate array.

The program should display each employee number and ask the user to enter that employee's hours and pay rate. Since the CCA pays hourly employees on a biweekly bases, validate that the hours do not exceed 80 hours. It should then calculate the gross wages for that employee (hours times pay rate), which should be stored 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.

Reference no: EM131559398

Questions Cloud

What is the discounted payback period for these cash flows : What is the discounted payback period for these cash flows if the initial cost is $9,000?
Record these vehicle purchases in the purchases journal : Invested $340000.00 into the business, depositing it into the bank account. Record these vehicle purchases in the purchases journal
Create a new thread in the discussion board : Create a new thread in the Discussion Board that will reserve the article you would like to critique.
Explain what speech-language pathologists do : Explain what Speech-Language Pathologists do and describe what they offer to the health industry. Please answer in no less than 300-400 words
Employee identification numbers : The program should relate the data in each array through the subscripts. For example, the number in element 0 of the hours array should be the number.
How many dvds can customer entering store be expected to buy : Based on past experience, the manager of the VideoRama Store has compiled the following table, which gives the probabilities that a customer who enters.
What is after-tax cash flow : What is the Net Income for XYZ for the year? What is the After-Tax Cash Flow (ATCF)?
Winfield transportation system : Winfield is a small city with a population of 22,000. Until now, Winfield was served by a bus route from a nearby city.
What types of monitoring procedures would you develop : What would you include in your sanctions for violations policy - What types of monitoring procedures would you develop?

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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