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

  Process of social change and benefit of organizing

Discuss the process of social change and the benefit of organizing together for change over individual efforts.

  Determining criminological theory

For this assignment you will be completing a research paper that compares and contrasts the following theories:

  Psyc research questions

Define and explain historical research. Explain a situation in which historical research would be appropriate (example).

  What is religious expression

How can religious expression be seen in today's world? As we can see and perceive, globalization brought confusion regarding how religiousity could be seen.

  What is the conclusion

If this passage is an argument, what is the conclusion? Computers will never be able to converse intelligently through speech. A simple example proves that this is so.

  Productivity in non-hospital organizations

Describe how to improve productivity in non-hospital organizations e.g. American Heart Association, Lupus Foundation, Alzheimer's Association etc.

  Explain the global age

What do you mean by this term? Write down its "main themes," since 1945? which do you consider most significant? Explain why?

  Research on the development of gender identity

Research on the development of gender identity has shown that

  Difference between male & female thought patterns

Psychologists inform us which tension impacts people in a different way simply because they don't believe as well. Ladies often create mental difficulties for example depressive disorders, storage lapse, as well as head aches.

  What neurologic injury has occurred

What neurologic injury has occurred? Describe the relationship (if any) of a fracture in the region of the surgical neck of the humerus and the injured nerve. Describe the relationship between the neurologic deficits and clinical findings. Describe t..

  Procure an integrated student management system

A university intends to procure an integrated student management system holding all details of registered students including personal information, courses taken and examination marks achieved. The alternative approaches to be adopted are either:

  Create horizontal oval towards middle top of the page

Create the horizontal oval towards middle top of the page, create two long vertical lines descending from farthest sides of oval, gently curve vertical lines.

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