Question: C++ programming. Please use comments throughout code so I can comprehend code. Description: This program will read a data file that contains book store sales
C++ programming. Please use comments throughout code so I can comprehend code.





Description: This program will read a data file that contains book store sales for 12 months. Each month record will contain 6 category book sales (Math, CS, Physics, Chemistry, Biology, Geography). The file will be processed by the program and will produce a report. The report contains the following parts: 1) The total, highest and lowest sales for each month among 6 category book sales 2) The total, highest and lowest sales for each category book among 12 month 3) Sorting 12 months in descendent order of the total sale 4) Sorting 6 book categories in descendent order of the total sale 5) Search the sale by user inputting the month and book category 6) The total number of books sold by the book store (See the attached sample input and output for example.) Specifications: 1. All input data will be in an input file. The name of the data file that will be used for your program MUST BE sale.dat. You may need to create your own version dat your program before you turn it in. You must also submit a print out of the contents of this test file when you submit this project. 2. You need to use two dimensional array to store the book store sales 3. You need to write several functions in your program: For example: for finding highest, lowest, and total, sorting, and searching etc. 4. You need to do input validation for valid month and book category for searching
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
