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

C++ Project All info needed in the image a. Create one array

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

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!