The original data will be in a file formatted as follows:
Product Number (int) Name (string) Unit Price (double) Units in Stock (int)
Each such record will be on its own line. You won't know ahead of time how many records there will be, nor will the records be sorted (you'll have to do that yourself). Product Names may be more than one word long.
Think about your implementation, because I'll be looking for well-designed programs. For example, how should you represent the inventory data for a product (hint: inventory data is not a C++ data type)? How should you efficiently print to either the screen or the file (hint: it should only require one function)? User-friendliness is also important.
Remember to turn in the appropriate pieces:
- printed source code
- design documentation
- printed output
- electronic copy of executable program