String Function

Write your question here.Create a C++ program that accepts the position (cashier or bagger) of ten workers at Ashton Wholesale, as well as the total number of sales (cashier) or bags (bagger) that the respective worker has made or bagged. Use the insert string function to place ‘best’ in front of the cashier and bagger that has the most sales or has bagged the most bags. (i.e. to insert the word best in front of the accepted string for the user ‘s position that has the most output within the respective position). Finally, display all the employees’ positions and outputs.

ok
Topic archived. No new replies allowed.