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

  Examine practices of effective leadership and accountability

Examine the practices of effective leadership and accountability which contribute to documented success and create the individual plan for employing similar strategies at college and in career.

  Interpersonal communication of pathos-ethos-logos

Is Aristotle Classification Scheme ethos, pathos and logos beneficial for me to know or use in my everyday life?

  Manufacture chemical and biological weapons-squad leader

You are the unit’s NBC NCO and discover through intelligence sources that the enemy is beginning to manufacture chemical and biological weapons at a factory in the center of a large town. This sector is part of your platoon’s area of responsibility. ..

  Developed through socialization

Examine your own political attitudes and how they have been developed through socialization. I know it says your own but I am just having a hard time with it.

  Concept of power in a democracy

How is power wielded in the social world? Do agree more with functionalist or conflict theorists regarding the concept of power in a democracy?

  Plea bargain required the once-powerful lobbyist

Jack Abramoff's plea bargain required the once-powerful lobbyist to

  Refine learning and metacognitive problem-solving strategies

Explain how you, as a professional, may be able to help children in refining their learning and metacognitive problem-solving strategies.

  Describe briefly significance of procurement planning

Describe briefly significance of procurement planning.

  Find out the enthalpy and internal energy at the final state

Do you think Julie should make changes to the products she offers? Based upon the case study, what accurately do you recommend that she should do? How might Julie be more certain that any actions she takes will more completely address the needs of th..

  Similarities-differences of glottochronology-dentochronology

Explain glottochronology, dentochronology, and dendrochronology, and write their similarities/differences. Give examples of these techniques are utilized.

  According to functional job analysis

According to functional job analysis, all jobs require workers to interact with? a. subordinates, superiors and peers. b. data, people, and things. c people places and things d. none of the above.

  Preventing the effects of stressors

How can you minimize or prevent the effects of the stressors?

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