I want to make a little bank program but i keep getting an error....whats the problem?Code:#include<iostream> #include<string> using namespace std; int main() { string option; cout << "What Would You Like To Do?" << endl; cout << "To Withdraw Please Type withdraw" << endl; cout << "To Deposit Please Type deposit" << endl; cin >> option; switch (option) { case 'withdraw': cout << "hi" << endl; break; case 'deposit': cout << "bye" << endl; break; default: cout << "NO" << endl; break; } system("PAUSE"); return 0; }
thanks