Question: # 1 Based on the engineering problem-solving methodology, write down the detailed 5 steps that are applied for developing a C++ program to calculate

# 1 Based on the engineering problem-solving methodology, write down the detailed 5 steps that are applied

# 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

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

here is a solution to the problem ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!