Calculate each employee pay based on that employee pay code

Assignment Help Basic Computer Science
Reference no: EM131608283

Question: (Calculating Weekly Pay) A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and "time-and-a-half"-i.e., 1.5 times their hourly wage-for overtime hours worked), commission workers (who receive $250 plus 5.7% of their gross weekly sales), or pieceworkers (who receive a fixed amount of money for each of the items they produce-each pieceworker in this company works on only one type of item). Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. Each type of employee has its own pay code: Managers have pay code 1, hourly workers have code 2, commission workers have code 3 and pieceworkers have code 4. Use a switch to compute each employee's pay based on that employee's pay code. Within the switch, prompt the user (i.e., the payroll clerk) to enter the appropriate facts your program needs to calculate each employee's pay based on that employee's pay code.

Reference no: EM131608283

Questions Cloud

Discuss how tone of doctoral writing differ from the voice : How do the voice and tone of doctoral writing differ from the voice and tone of writing at other academic levels
Forced the redesign of campus networks : Discussion topic: Research and discuss various trends that have forced the redesign of campus networks.
Investigating lockbox system to reduce its collection time : Paper Submarine Manufacturing is investigating a lockbox system to reduce its collection time.
How are the topics of the two articles related : Research at least two articles on the topic of managerial issues of a networked organization. Write a brief synthesis and summary of the two articles.
Calculate each employee pay based on that employee pay code : (Calculating Weekly Pay) A company pays its employees as managers (who receive a fixed weekly salary), hourly workers.
Global growth generators : Global growth generators: Moving beyond emerging markets and BRICs by Willem Buiter, Ebrahim Rahbari
Discussions of qualitative design options : Case studies are often included in the discussions of qualitative design options. Why do you think this is so?
Describe vrooms model of expectancy theory : Describe Vroom's Model of Expectancy Theory.Describe how the model measures motivation.Explain how the measure of valence can aid staffing issues in an org.
Discuss the problem pythagorean triples : (Pythagorean Triples) A right triangle can have sides that are all integers. The set of three integer values for the sides of a right triangle.

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