Write a program that commutes the weekly pay

Assignment Help Software Engineering
Reference no: EM1379013

Question: A corporation pay its workers as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the forty hours they work and "time-and-a-half"- 1.5 times their hourly wage- for overtime hours workers), commission workers (who receive $250 plus 5.7% of their gross weekly sales), or pieceworkers (who received a fixed amount of money per item for each of the items they produce-each pieceworker in this company works on only one type of item).

I have to write a program that commutes the weekly pay for each employee. Each type of employee has its own pay code: Managers have has pay code 1, hourly workers have code 2, commission workers have code 3 and pieceworkers have code 4. I also have to use a switch to compute each employee's pay according to that employee's pay code. Within the switch, prompt the user (i.e. the payroll clerk) to enter the appropriate facts the program needs to calculate each employee's pay according to that employee's pay code.

 

Reference no: EM1379013

Questions Cloud

Importance of internet to most companies : Discuss how important is the Internet to most corporations? How have corporations improved the sales / service / performance process utilizing the Internet?
Privileges and obligations of a corporation : What should the privileges and obligations of a corporation be from an ethics perspective and how can these be enforced? In a global market, how can a corporation with a strong ethical agenda
Content validation of document : Do you believe that any form of document content validation should be applied to web pages before they are placed in the public domain?
Compute the projects payback period : Draw a time line to show the cash flows of the project and compute the project's payback period, net present value (NPV), profitability index (PI), and internal rate of return (IRR).
Write a program that commutes the weekly pay : A corporation pay its workers as managers, hourly workers, commission workers, or pieceworkers who received a fixed amount of money per item for each of the products.
Importance of udp and the relationship to tcp : Discuss and explain what the UDP does and its relationship to TCP in what ways is it similar and different, and why would we use UDP, and why can not a user program access IP directly?
Hazards existing prior to or during the incident : Discuss briefly the assertion that ‘investment by a company in safety procedures and training reduces the risk and probability of accidents and is good for business'.
Define the terms variable and constant : Discuss and define the terms "variable" and "constant" as used in computer programming. Estimate the many types of data that can be used in developing a solution.
Concept of object orientation & universal modeling language : Describe the concept of object orientation and Universal Modeling Language as used in computer programming.

Reviews

Write a Review

Software Engineering Questions & Answers

  Draw a class diagram of structure of monitoring station

Printer, on which the readings from these three sensors are shown. Readings are taken checkpoint. Draw a class diagram summarizing the structure of the monitoring station.

  Prepare a data flow diagram for computing the volume

Prepare a data flow diagram for computing the volume and surface area of a cylinder. Inputs are height and radius of cylinder.

  Multi stage model for e commerce

Review and discuss the challenges associated with all global systems attempting to implement a multi-stage model for e-commerce:

  Design program using four program development life cycle

Design a program using the four Program Development Life Cycle step (Analyze, Flowchart, Pseudocode, and Test).

  Draw an erd with cardinality notation

Review the Personal Trainer fact-finding summary and draw an ERD with cardinality notation. Assume that system entities include members, activities and services, and fitness instructors.

  Brainstorming and delphi technique for risk identification

Discuss the difference between using brainstorming and the Delphi Technique for risk identification and determine some of the advantages and disadvantages of each approach?

  Poor database mission statement

Use internet to find an example of what you think is a good database mission statement. Then, find an example of what a poor database mission statement.

  Microsoft word and powerpoint presentation

Assume A friend of you has just started using M.S. Word, and has e-mailed you requesting instructions on how to apply a first line indent to a paragraph. Construct a list of instructions about how to configure a 1st line indent for a paragraph.

  Context level dfd to level 0 dfd to illustrate sub-systems

Explode Context level DFD to Level 0 DFD to illustrate sub-systems (processes). Level 0 DFD illustrates internal data stores and how data flows through processes.

  Programming frameworks besides asp.net

Name three other web programming frameworks besides ASP.NET. Explain the ways that ASP.NET is different than other web programming frameworks.

  Explanations on fixing c++ code errors

This technique takes an array of ints as a parameter and returns an array of Booleans. For each element in the parameter array whose value is 0,

  Draw a flowchart to determine fare

Write an algorithm to find the bus fare based on distance travelled as per the following rates:a. Rs.5.00 for first 2 kms.

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