Sales Tax problem solution using C++
main.cpp
contains main entrypoint driver code and deals with input and output.Item.cpp
contains implementations of funtions declared in Item
class in Item.hpp
header file.ItemCategory.hpp
header contains enum class
to store item categories.Tax.cpp
contains implementations of funtions declared in Tax
class in Tax.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.