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 erd to track work orders and tasks of work orders

Draw an ERD. The database should track work orders and tasks of work orders. The following detailed information requirements should be represented by the ERD.

  Sketch diagram displaying how message-application-layer

Sketch a diagram displaying how message gets from Alice's host to Bob's host. Ensure to list series of application-layer protocols which are used to move message between two hosts.

  Explain use of er-assistant to depict conceptual model

Create your conceptual model, logical model, and few examples of what physical model would look like. Hint: You can use ER-Assistant to depict conceptual model and MS Access to depict logical model.

  Use e-r approach to model operations of local library

Use the E-R approach to model the operations of your local community library. The library has books, CDs, tapes, and so forth, which are lent to library patrons.

  Deisgn level-one dfd for real estate system

Deisgn a level-1 DFD for the following scenario. The purpose of green acres real estate system is to assist agents as they sell houses. Sellers contact agency, and agent is assigned to help seller complete listing request.

  What is the need to identify test deliverables

What is a test plan? List out the processes that are covered in a test plan. What is the need to identify test deliverables?

  Steps to follow in evaluation of software packages

Top Sail's owner read an article about software packages, and she asked you, as an IT consultant, for your advice. When you evaluate software packages, what steps will you follow?

  Deisgn flowchart-hierarchy chart and pseudocode for program

Deisgn a flowchart, hierarchy chart, and pseudocode for program to solve following problem: A student borrows $3,000 at the interest rate of 2 percent per month on unpaid balance.

  Different approaches for system development

In Systems Analysis and Design. There are at least 2 approaches to system development, variety of life cycles, and long list of techniques.

  Explain importance of osi reference model

Discuss the importance of the OSI reference model for those responsible for network administration and network protocol development.

  Describe is-a-has-a-uses-a relationship

Determine which of the following best explains the relationship between given objects: is-a, has-a, uses-a, none of the preceding.

  Number of block to fetch record-single level primary index

Assume one file has r =1000000 records. Each record takes R = 100 bytes, of which 10 bytes are for the key of the record. What is the least number of block accesses to fetch a record by using single level primary index?

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