# 1 Based on the engineering problem-solving methodology, write down the detailed 5 steps that are...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
# 1 Based on the engineering problem-solving methodology, write down the detailed 5 steps that are applied for developing a C++ program to calculate salesperson's earnings: A large company pays its salesperson on a commission basis. The list of the items sold by salespersons is Item 1 2 3 Value 10 20 30 The salesperson receive $200 per week plus 9% of their gross sales for that week. For example, if a salesperson sells 100 item 1 and 200 item 3 in a week, he receives $200 + 9% × ( 100 x $10 + 200 × $30) = $830 There is no limit to the number of items that can be sold. The salespersons weekly sales data may look like: 100 item 1 and 200 item 3 on Monday, 50 item 2 on Tuesday, 100 item 1 and 200 item 2 on Wednesday, and so on. Use structured input loop to enter the salespersons weekly sale. Use switch statement to determine the value for the corresponding item. Use either pseudo-code or flow chart to describe your algorithm. 25 # 2 Write a complete C++ program for question 1 (Include comments in your program) 20 # 1 Based on the engineering problem-solving methodology, write down the detailed 5 steps that are applied for developing a C++ program to calculate salesperson's earnings: A large company pays its salesperson on a commission basis. The list of the items sold by salespersons is Item 1 2 3 Value 10 20 30 The salesperson receive $200 per week plus 9% of their gross sales for that week. For example, if a salesperson sells 100 item 1 and 200 item 3 in a week, he receives $200 + 9% × ( 100 x $10 + 200 × $30) = $830 There is no limit to the number of items that can be sold. The salespersons weekly sales data may look like: 100 item 1 and 200 item 3 on Monday, 50 item 2 on Tuesday, 100 item 1 and 200 item 2 on Wednesday, and so on. Use structured input loop to enter the salespersons weekly sale. Use switch statement to determine the value for the corresponding item. Use either pseudo-code or flow chart to describe your algorithm. 25 # 2 Write a complete C++ program for question 1 (Include comments in your program) 20
Expert Answer:
Related Book For
Managing Business Ethics Making Ethical Decisions
ISBN: 9781506388595
1st Edition
Authors: Alfred A. Marcus, Timothy J. Hargrave
Posted Date:
Students also viewed these programming questions
-
Discussions about "what I did yesterday, what I will do today and what impediments stand in my way" form the basis of what SCRUM ceremony? List the benefits of Impact Analysis What is Gap Analysis?
-
The Crazy Eddie fraud may appear smaller and gentler than the massive billion-dollar frauds exposed in recent times, such as Bernie Madoffs Ponzi scheme, frauds in the subprime mortgage market, the...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Find the smallest positive angle and the smallest negative angle (numerically) coterminal with but not equal to the given angle. 47.0
-
Hasbra Toys Ltd. had the following comparative balance sheet: Compute for Hasbra Toys Ltd: a. Collections from customers during 2014. Sales totalled $420,000. b. Payments for inventory during 2014,...
-
SR 5.35 Which of the following could be determined using one or more check boxes? Explain. a. The condiments that should be put on a hamburger. b. Whether or not to collate a print job. c. Your...
-
Transformational leadership ____________. (a) is similar to transactional leadership (b) is particularly useful in combination with transactional leadership (c) is not related to charismatic...
-
Toledo Custom Manufacturing (TCM) makes machined steel parts to customer specification. They have a variety of machines that can hold tight tolerances. In this case they have just received an order...
-
Question 6 (1 point) Listen The range for the function f(x) = -3 sin x is: a) Range: {y 2 < y <3, y R} b) c) Range: {y0y 3,y R} Range: {y/2y3,ye R} Od) Range: {y 3 y3,ye R} 2
-
The numbers of cobs produced by 360 maize plants are shown in the following table. a. Calculate the mean and the standard deviation. b. Find the interquartile range and give an example of what it...
-
1 100 points QS 15-6 (Static) Recording materials LO P1, P3 A company that uses job order costing purchases $50,000 in raw materials for cash. It then uses $12,000 of raw materials as indirect...
-
Grace company: What amount should be debited to Factory overhead control to record spoilage pertaining to unrecovered cost? Ladyfinger: determine the applied factory overhead rate of fabrication...
-
Sam has 240 feet of fencing available to surround 3 adjacent rectangular fields. One side of the 3 adjacent fields will be next to the street, so will need a double fence. Find the maximum possible...
-
Use the following information to answer this question. Windswept, Inc. 2017 Income Statement ($ in millions) Net sales Cost of goods sold Depreciation Earnings before interest and taxes Interest paid...
-
Calculation-Bayes Theorem! Prevalence of the disease matters and the accuracy of the test. Accuracy of a test means that IF a person has Covid, that's the percent chance that person will test...
-
You are assisting in a real estate loan transaction. Your firm has a title agency, and you have been asked to prepare the final title policy for the lender. The recorded mortgage has been sent to...
-
1. Review the characteristics of a confirmed documentary letter of credit and consider its value to: a) An exporter in Ghana dealing with an importer in France through BNP Paribas, a major...
-
Bonus shares can be issued out of revenue reserves. True/False?
-
Multinational oil company ExxonMobil faced many challenges related to climate change. Climate change is taking place because of the greenhouse effect. When solar radiation passes through the...
-
The two classes of sexual harassment defined under the Equal Employment Opportunity Commission guidelines are (1) requests by a supervisor for sexual favors in return for job benefits and (2) a...
-
Mayo Elton is the chief ethics officer at Hawthorne Manufacturing. He has established a code of conduct that prohibits stealing supplies and equipment from the factory floor and also imposes strict...
-
In preparing monthly financial statements, overapplied overhead is rep orated in the balance sheet as a(an): (a) prepaid expense. (b) unearned revenue. (c) noncurrent asset. navigator (d) noncurrent...
-
Hal Adelman is studying for an accounting midterm examination. What should Hal know about how management may use job cost data?
-
What are the major differences in measurement principles between the Anglo-Saxon, Nordic, Germanic, Latin, and Asian countries?
Study smarter with the SolutionInn App