Question

In: Computer Science

Hank & Sons is a retail seller of computers. At the end of the month, each...

Hank & Sons is a retail seller of computers. At the end of the month, each salesperson’s commission is calculated according to the commission table in the previous question. Salespersons also need to pay a monthly admin fee based on their total monthly sales for office supply.

For example, a salesperson with $16,000 in monthly sales will earn a 12% commission minus admin fee ($1,920 - $150). Another salesperson with $20,000 in monthly sales will earn a 15% commission minus admin fee ($3,000 - $200).

Because the staff gets paid once per month, Hank & Sons allows each employee to take up to $1,500 per month in advance. When sales commissions are calculated, the amount of each employee’s advanced pay is subtracted from the commission. If any salesperson’s commission is less than the amount of this advance, he or she must reimburse Hank & Sons for the difference.

Write the pseudo code for calculating the total monthly net income for Hank & Sons sellers. The program should first ask the user to enter the salesperson’s monthly sales and the amount of advanced pay. Then draw the flowchart for your pseudo code.

Solutions

Expert Solution

Answer: Hey! Dear student, kindly find your solution here. If you have any queries, feel free to ask me. Thanks.

This flowchart is taking input for monthly sales and advance payment. It will take sales less than equal to 16000 and greater than 20000. On the basis of sales it is calculating commission then it is checking commission whether it is less than advance pay or not if less then he/she has to reimburse that amount. The program will display a message regarding this. If greater than advance pay it will subtract advance pay from the commission. then it will subtract the admin fee from this commission nad display net income at last.

Pseudo-code-

Declare Integer monthlySales, advancePay, netIncome, commission

Display "Enter your monthly sales"

Input monthlySales

Display "Please enter your advance payment"

Input advancePay

If monthlySales <= 16000 Then

    Set commission = monthlySales * 12 / 100

    If commission < advancePay Then

        Display "You have to reimburse this amount: $", advancePay - commission

        Display "Because Your commission is less than advance payment :$", commission

    Else

        Set netIncome = commission - advancePay

        Set netIncome = netIncome - 150

        Display "Your Monthly net Income is: $", netIncome

    End If

Else

    If monthlySales >= 20000 Then

        Set commission = monthlySales * 15 / 100

        If commission < advancePay Then

            Display "You have to reimburse this amount: $", advancePay - commission

            Display "Because your commission is less than advance payment :$", commission

        Else

            Set netIncome = commission - advancePay

            Set netIncome = netIncome - 200

            Display "Your Monthly net Income is: $", netIncome

        End If

    End If

End If

Induk to your mothy lupulu s Citaran advance payment Input advance ay monthles<=10000 com manth Sales 121100 -20% con des come common Duda. "You how to remouse : 5 NICHE G erome-150 O C TW Your o n is less than Turis Cubutu Nentyn Ourtout You have to mbushant Sa PHU une 2001 thropose your advance permet l'S Dam Cup M M In one


Related Solutions

A Buyer (Best Buy) and Seller (Dell Computers) of computers entered into a contract whereby the...
A Buyer (Best Buy) and Seller (Dell Computers) of computers entered into a contract whereby the Seller promised to deliver 5,000 laptop computers of a certain model, at $500 each, by February 10, 2016, to the Buyer’s warehouse, in time for a big promotional sale which the Buyer was planning for the President’s Day holiday. The Seller was only able to deliver 3,000 units, due to a labor strike. To “cover” the other 2,000 units, and make sure the Buyer...
Payments of $1100 per month are deposited into a fund at the end of each month...
Payments of $1100 per month are deposited into a fund at the end of each month for 11 years. If interest is 11.2% p.a. compounding monthly, the size of the fund at the end of 11 years will be (to nearest dollar but don’t include $ sign or commas):
Mac and Izzie each produce computers and television sets. Mac can produce 60 computers per month...
Mac and Izzie each produce computers and television sets. Mac can produce 60 computers per month or 60 television sets per month. Izzie can produce 30 computers per month or 120 television sets per month. Q1. Use the information above to draw the production possibility frontier(PPF) for Mac and another for Izzie on the graph. Put computers on the horizontal axis and TV sets on the vertical axis. Maintain this throughout. Q2. Calculate the opportunity cost for producing computers and...
A 20 year annuity pays 1600 per month at the end of each month. if the...
A 20 year annuity pays 1600 per month at the end of each month. if the discount rate is 10% compounded monthly for the first nine years and 8% compounded monthly thereafter, what is the present value of the annuity?
Really Cheap Used Computers, Inc. is an online seller of old school computers. The organization’s e-commerce...
Really Cheap Used Computers, Inc. is an online seller of old school computers. The organization’s e-commerce Web site runs on a Linux server. The server is located at the organization’s local office in Boston, Massachusetts. The company has experienced tremendous growth and has hired you as the new security analyst. You access the server and find that there are no layers of security other than the passwords set for user accounts. Discuss at least three layers of access control that...
8. I deposit $3,000 per month (at the end of each month) over the next 15...
8. I deposit $3,000 per month (at the end of each month) over the next 15 years. My investments earn 0.6 percent per month. I would like to have $1 million in 15 years. How much money should I deposit now?
At the end of each month, you would enter your actual spending in each category to...
At the end of each month, you would enter your actual spending in each category to identify budget variances. What is your experience with creating and using a personal budget? Have you tracked expenses to identify variances? If so, what method did you use? What new strategies are there? How can your tax withholding affect your budget or financial goals?
You put $50 in your savings account at the end of each month.
You put $50 in your savings account at the end of each month. The nominal interest rate is 14% annual nominal compounded monthly, and you have at the end $2,221.14. what its your annuity value?
A young executive deposits $100 at the end of each month for 5 years into an...
A young executive deposits $100 at the end of each month for 5 years into an account that earns 6% compounded monthly. How much is in the account after the 5 years? (Round your answer to the nearest cent). $   The executive then changes the deposits in order to have a total of $400,000 after 25 total years. What should be the revised monthly payment in order to meet the $400,000 goal? (Round your answer to the nearest cent). $  ...
An individual is 48 years old. At the end of each​ month, hedeposits ​$300 in...
An individual is 48 years old. At the end of each month, he deposits $300 in a retirement account that pays 4.82% interest compounded monthly. (a) After 12 years, what is the value of the account? (b) If no further deposits or withdrawals are made to the account, what is the value of the account when the individual reaches age 65?After 12 years, the value of the account will be $
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT