I didn't finish my lab for my class and couldn't get a chance to ask my professor for some help. My book only has pseudocode and not c++ examples. I think I was getting an intialization error before (not showing up now) and I don't know how to call the functions. I want to only call the "printData" function so the information is outputted.
Also in your printData function you are incorrectly printing multiple values. It is done like so, cout<<TotalSales<<" "<<CountySalesTax<<" "<<StateSalesTax;