main.cpp
contains main entrypoint driver code and deals with input and output.Item.cpp
contains implementations of funtions declared inItem
class inItem.hpp
header file.ItemCategory.hpp
header containsenum class
to store item categories.Tax.cpp
contains implementations of funtions declared inTax
class inTax.hpp
header file.
$ cd to the src folder
$ g++ -o main main.cpp Item.cpp Tax.cpp
$ ./main
Enter each item order on new line. When orders are finished ,enter 'stop' to console on new line.