this is giving me an error at the line that says
loc = (zip.find("605", 0));
can't tell why?!?
void calcShippingCharge(string zip, int RATE605, int RATE606, int &chg)
{
//search zip code for proper prefix
int loc = 0;
loc = (zip.find("606", 0));
if (loc >= 0)
chg = RATE606;
else if
loc = (zip.find("605", 0));
(loc >= 0);
chg = RATE605;
else cout << "Invalid entry, please try again" << endl;
//end ifs
} //end of calcShippingCharge function