#include <iostream> #include "Sales_item.h" int main() { Sales_item item1, item2; std::cin >> item1 >> item2; // read a pair of transactions std::cout << item1 + item2 << std::endl; // print their sum return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)