cout << "Do you wish to credit or debit your account? Enter C or D"<< endl;
string answer;
cin >> answer;
cout << "how much?"<<endl;
double amount;
cin >> amount;
if (answer== 'C') || answer== 'c')


//im getting the error
binary '==' : 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' does not define this operator or a conversion to a type ac



Help!!! My other programs work like this!!!!