Write a program that a small business owner can use to track customers. Assign each customer a num

Write a program that a small business owner can use to track customers. Assign each customer a number (starting at 0). Whenever a customer purchases something, record the sale in the element that matches the customer’s number (the next unused array element). When the store owner signals the end of the day, print a report consisting of each customer number with its matching sales, a total sales figure, and an average sales figure per customer (use a while loop). Print code and sample run.
cee
Asked Jul 15, 2013

If you are looking for a place to share your travel photos and stories, then try BigRoom.

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories