# 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
-
Dillon rented his personal residence at Lake Tahoe for 14 days while he was vacationing in Ireland. He resided in the home for the remainder of the year. Rental income from the property was $6,500....
-
Recall Exercise 1.2.16, in which researchers asked 40 heterosexual couples which person said I love you first. They found that the man said I love you in 28 of the 40 couples before the woman did....
-
Using the following data for Evans \& Sons, calculate the cash paid for rent: Rent expense... $80,000 Prepaid rent, January 1 10,000 Prepaid rent, December 31 8,000
-
KJ Company manufactures furniture and carriages for infants. The accounting staff is currently preparing next years budget. Kyle Lansing is new to the firm and is interested in learning how this...
-
Your company, based in Trenton, NJ produces die cast magnesium parts that are used in many applications from planes to digital cameras. Management has asked you to consider two opportunities: 1) to...
-
A beam ABCD consisting of a simple span BD and an overhang AB is loaded by a force P acting at the end of the bracket CEF (see figure). (a) Determine the deflection δA at the end of the...
-
Describe the need for model leadership behavior during times of organizational change. What are model leadership behaviors that should be encouraged across the organization at any time? How should...
-
What are the correct Journal Entries for these 2 transactions. Decided to sell second line of consulting business. Found a buyer for second line of consulting services. Sold the business in exchange...
-
Two balls of equal mass 9 . 2 5 kg undergo a collision. Initially, one ball is moving at a velocity of 1 2 . 0 m / s [ E ] . The other ball is moving directly west with a kinetic energy of 1 8 5 0 J...
-
Create an Excel File with the name What If Analysis & your name . Copy the following Data in Sheet 1 : Data for Goal Seek Assignment Note: Keep in Mind that Goal Seek Does not work on the NON -...
-
Four lawn sprinkler heads are fed by a 2.0 cm diameter pipe. The water comes out of the heads at an angle of 37 to the horizontal and covers a radius of 6.9 m. Part A What is the velocity of the...
-
Apply addition and multiplication methods to numbers that are expressed in different base systems a) Determine the value of the following equations in Decimal form: i) 768 +13110 - 4E216 ii) 3BB16...
-
Choose a Nepal Life Insurance Company that is listed in Nepal Stock Exchange. Collect necessary data to calculate the annual return of the that company. It is good to take year - end data for...
-
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...
-
What do the following terms mean? (a) term loan, (b) bonds payable, (c) trustee, (d) secured bonds, (e) serial bonds, (f) call provision, (g) convertible bonds, (h) face value, (i) coupon rate, (j)...
-
What are contingent liabilities? List three examples of contingent liabilities. When should contingent liabilities be recorded in the accounts?
-
Define the terms current ratio and quick ratio. What does each ratio tell us?
Study smarter with the SolutionInn App