Question: C++ Project All info needed in the image a. Create one array of 15+ products including product ID's, unit prices, quantities sold, and sales of
C++ Project
All info needed in the image

a. Create one array of 15+ products including product ID's, unit prices, quantities sold, and sales of each product. The products should be defined in a file and input into an array of structure ADT b. Sort the above data and adding the sales of each product. u may use either bubble sort or selection s rt in ascending or descending order on sales. The arguments of call function must include array of structure. c. Print out product ID' s, unit prices, quantities sold, and the sales of each product. Also print out the total units sold and the total sales d. You should use file to do input/output and print them if needed. e. Turn in source programs, and output that should include but not limited to: original data (array of structures), sorted array, and the total sales and total units sold
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
