Note: Write the program in C ++ One of your colleagues has started to a new project, which is a shop to sell mobile phones, and since you are an expert in programming, your colleague asked you to create a program for him that organizes the list of store contents from (phones - chargers - headphones - phone cover - etc.) The program must perform the following tasks: Sort the contents according to the serial number . Sort contents by price . Arrange the contents according to the year of manufacture . Classify the contents by type; and then calculate the total price for each category and the number of contents for each category . Delete an item if it is sold. Create “StoreContents.txt” file as an input file, and then put the output for each of the statistics you calculated above into a different output file.
Note: Write the program in C ++
One of your colleagues has started to a new project, which is a shop to sell mobile phones, and since you are an expert in
. Sort contents by price
. Arrange the contents according to the year of manufacture
. Classify the contents by type; and then calculate the total price for each category and the number of contents for each category
. Delete an item if it is sold. Create “StoreContents.txt” file as an input file, and then put the output for each of the statistics you calculated above into a different output file.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images