Question: Make Up Sales Write a program that allows a cosmetic company to keep track of six different products: lipstick, eye shadow, mascara, eye liner, foundation,

  • Make Up Sales

    Write a program that allows a cosmetic company to keep track of six different products: lipstick, eye shadow, mascara, eye liner, foundation, and rouge.The program should use two-parallel 6-element arrays: an array of strings that holds the product names and an array of integers that holds the number items in each category sold during the last week. The product names should be stored using an initialization list at the time the array is created. The program should prompt the user to enter the number of each product sold. Once the sales data has been entered, the program should display sales for each product, total sales, and the names of the highest and lowest selling items.

    Input Validation: Do not accept negative values for the number of items sold.

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 Databases Questions!