The problem was that when you put tn instead of TN in for state, it'll give you the wrong answer. This is the solution to the program according to the book, but it keeps giving me error. I wonder if someone can help me fix these errors.Thanks. Program below.
using std::cout;
using std::cin;
using std::endl;
using std::string;
using std::getline;
using std::fixed;
using std::setprecision;
using std::transform;
int main()
{
string stateId = "";
double sale = 0.0;
double shipping = 0.0;