adzo261 / sales-tax-problem

Sales Tax problem solution using C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sales Tax Problem solution using C++


Structure

  • 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.

Running

$ cd to the src folder
$ g++ -o main main.cpp Item.cpp Tax.cpp
$ ./main

Providing Input

Enter each item order on new line. When orders are finished ,enter 'stop' to console on new line.

About

Sales Tax problem solution using C++


Languages

Language:C++ 100.0%