Calculate the amount of salary received for each employee

Assignment Help Basic Computer Science
Reference no: EM13844498

A company owned by First Avenue has a salary system based on position level. Employee salary is being paid on a weekly basis. The company has 30 employees, which comprises of a manager (fixed salary), cooks (salary on hourly basis), salesperson (fixed salary and sales commission). Below shows the details of salary payment for each position level.

1) Position level : Manager

Salary paid per week : Fixed salary

2) Position level : Cooks

Salary paid per week : First 30 hours - fixed rate every hour. The next following hours, overtime rate at 1.5% of the fixed rate hourly

3) Position level : Salesperson

Salary paid per week : $300 plus commission 8.5% of the total sales per week.

Calculate the amount of salary received for each employee based on their position level in the company.

Given is the input, output, solution/formula, and constraint for the above problem :

Inputs:

*fixed input:

- fixed salary for a manager

- fixed rate for cooks

- basic salary for salesperson

- commission rate

*user's input:

- position category

- total working hours for cooks

- total sales for salesperson

Outputs:

- position category

- total income

Solution/Formula:

1) Income for a manager is fixed

2) Income for cooks is calculated by multiply total working hours with fixed rate:

2.1 if total working hours less than or equal 30 hours,

Total income = total working hours * fixed rate

2.2 if total working hours more than 30 hours

Total income = 30 * fixed rate + total working hours - 30 * 1.5 * fixed rate

3) Total income for a salesperson = $300 + commission rate * total sales per

Constraints:

- total working hours can not exceed than 168 hours

- total working hours must be entered for cooks

- total sales must be entered for salesperson

so, have to write a C++ program to calculate.

Reference no: EM13844498

Questions Cloud

What statistics or ideas were most suprising : What are some of the common threads between the solutions Steffan said he was looking for and what geodesign aims to do? What are examples from his talk of design that promotes life? What statistics or ideas were most suprising
How many gallon are added to the tank : How many gallon are added to the tank during the first ten mintutes? Round your answer wih two digits on the right side of decimal point.
How do these issues influence the music we listen : The music recording and radio industries have faced important challenges surrounding the content of music recorded and distributed to listeners. According to Frontline's "The Way the Music Died", various components of the music industry came toget..
32 times a plus b write as a c++ expression : The string that represents the name Julie Nelson
Calculate the amount of salary received for each employee : Calculate the amount of salary received for each employee
Compute bids for deluxe and regular pillows on a total-order : Compute the bids for deluxe and regular pillows on a total-order basis. When required round answers to the nearest cent Regular $ Deluxe $.
Who was the authority in the conversation : Choose one of the moments and describe it to the best of your memory. Include what you remember about the places, participants, emotions and events. What was revealed to you during this moment about language and how it is used? What did you learn ..
Write a program that calculates and prints the take-home pay : Write a program that calculates and prints the take-home pay
What does mechanical engineering do with nuclear engineering : What Does Civil & Environmental and Mechanical Engineering Have to Do with Nuclear Engineering?

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