Question: From your flowchart or pseudocode, translate each step into C++ code to develop your code. Additional information: Up to 5 sales may be entered for

From your flowchart or pseudocode, translate each step into C++ code to develop your code.

Additional information:

Up to 5 sales may be entered for the employees more than once. Your final report should include the total sales for all of the entries made for the employee. For example, Tom may have 2 sales, then Mary with 3 followed by Tom again with 4 sales. Final output for Tom would be the total of his 6 sales.

Your program should efficiently implement all 3 of the looping constructs.

DO NOT use goto statements in your code. They are considered poor programming structures!

Implement shortcut operators where appropriate.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!