Salesman earns commission on the sales made

Assignment Help Other Subject
Reference no: EM13188617

"A salesman earns commission on the sales made. The commission is based on the salesman's job code and sales amount. A salesman with a job code " P" for permanent employee, and sales above 3000 earns 4% commission on the sales made. Salesman with a job code " T" for temporary employee, and sales above 3000 earns 5% commission on the sales made. Produce the pseudocode logic for an algorithm that will compute the commission earned by each salesman. The information is given as follows:

* The output will consist of a screen display showing the Sales person's Name, job code, and commission earned.
* The input will consist of the file with records containing Sales person name, job code, Sales made.
* The processing will compute the commission earned by each Salesman to display the required output. If the Salesman's job code is other than "P", or "T", there should be no commission.

Note: Your solution should contain a mainline, and at least three subroutines.

Evaluate the expressions below, based on the hierarchy of operations for efficient processing:

i) (2+8)*( ( (3^2)/3 ) -1*2)+ 5MOD3

ii) Given A has a value of 8, B has a value 2, and C has a value of 5, evaluate :
(A =7 XOR B =2) AND C < 9

3. Create a pseudocode using if instruction containing a compound condition that will satisfy the following: When SALESPERSON_CODE is equal to PERM and SALE is greater than 4000, display "This Sales person is eligible for a 5 percent commission on the sales." Otherwise, When SALESPERSON_CODE is equal to PERM and SALE is greater than 2500, display "This Sales person is eligible for a 2 percent commission on the sales." In all other cases display, "This person is not eligible for a commission on the sales."

Note: The above text is not in a pseudocode format. You need to use the IF ELSE ENDIF clause in a pseudocode format with appropriate relational and logical operators."

Reference no: EM13188617

Questions Cloud

Using hull''s drive theory : Using Hull's Drive Theory, describe how this theory would and would not be applicable if applied to two or more workplace situations drawn from your personal experience.
What is the producers profit-maximizing : The price that consumers are willing and able to pay for this outputis $40 per unit. If it priduces this output, the firms average total cost is $43 per unit, and its average fixed cost is $8 per unit.
Jupiter''s four large moons : Which statement about Jupiter's four large moons is false?
Determine the profit maximizing output using algebra : Suppose that fixed costs increase by $50 but the prevailing market price remains unchanged. Using algebra determine the effects of this change in cost on the profit maximizing output and the optimal profit. Do you see any change from your answer t..
Salesman earns commission on the sales made : "A salesman earns commission on the sales made. The commission is based on the salesman's job code and sales amount. A salesman with a job code " P" for permanent employee, and sales above 3000 earns 4% commission on the sales made. Salesman with a j..
Identify an advantage and disadvantage of each : Two indicators of economic development include Gross Domestic Product (GDP) and the Human Development Index (HDI). What is the difference between these two ways of measuring levels of economic development Identify an advantage and disadvantage of ..
Sounding out words in storybooks : Carmenita is teaching her son to read by sounding out words in storybooks she reads to him. What approach is she using?
Determine total benefit and total cost from an activity : Suppose that the total benefit and total cost from an activity are, respectively, given by the following equations: B(Q) = 28Q - 5Q^2 and C(Q) = 100 + 8Q. (Note: MB(Q) = 28 - 10Q and MC(Q) - 8.)
Consideration in an agreement means : Consideration in an agreement means, Consideration required in an enforceable contract can take any of the following forms except:

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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