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

  What information-gathering methods are most appropriate

what information-gathering methods are most appropriate to learn about requirements from reliable's own management staff and other employees? from client health-care organizations? from suppliers?

  Software management

SOFT337 – Software Management, Demonstrate the  ability to investigate, gather appropriate sources, analyse, evaluate key challenges and discuss future trends within the chosen area of your choice .

  Formal programming languages and natural languages

As we know that there are problems of understanding natural languages as opposed to formal programming languages. As an illustration of the complexities involved in the case of natural languages,.

  Sketch flowchart to print average for student

Sketch a flowchart to print average for each student in class.Input. Input consists of student records each containing student's name(STUDENT-NAME), score for first test(TEST), score for second test(TEST2), and score for third test(TEST3).

  Create information system for manufacturing plan

Suppose you have been asked to create an information system for a manufacturing plant that produces nuts and bolts of many shapes, sizes, and functions.

  Saving privacy on the web

Explain two tools that people can use to save their privacy on the web. Give one useful application of location tracking.

  Study guide - ip address

Discuss when a person types in a domain name such as IBN . COM, how is this recognized by the computer as an IP address and explain ow are IP addresses used?

  Star life cycle model

interface design proces, Star Life Cycle as a model for interface Design, Nielsen's usability principles, Shneiderman's eight golden rules

  Create a diagram for many-to-many relationship of entity

One-to-many or many-to-many relationship. Then, using short-hand notation introduced in text, create a diagram for each of the relationships.

  Question about c programming

Construct a conditional that assigns 10,000 to the variable bonus if the value of the variable goodsSold is greater than 500,000.

  Concept of object orientation & universal modeling language

Describe the concept of object orientation and Universal Modeling Language as used in computer programming.

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

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