Skip to content

TWilson2017/Inventory-Report-Part2

Repository files navigation

		                   Inventory Organizer Program in C++ - Part 2

This program is a C++ program that reads a series of data records from a file and stores each record in a linked list (in ascending order by items number). After creating the linked list the program should traverse the list and print the report to a file.

After the program reads to a file, it now needs to input a list of item numbers from a file named (purge_item.dat). The program will locate the item numbers on the file and delete the item record it the item's age is more than 5 years old and the items sold is less than 10% of the item_count.

If the item number is NOT in the list, the program will ignore it and go on to the next item number in the purge file. After the program purge's the data, it will generate a Purge Report and print to the Purge Report file, with the Total Revenue Lost.

Total Revenue Lost = [item_cost * (item_count - item_sold)]

After purging the items that match the purge criteria, the program will generate a new inventory report.

This new inventory report will not include the purge data. But, it will include the percent decrease in revenue.

Percent Decrease in Revenue = ((Old Revenue - New Revenue)/Old Revenue) * 100

About

Read the README.md

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages