wrote:
cout << "Enter the account balance:';
cin >> "acount_balance;
That should have been:
cout << "Enter the account balance:";
cin >> acount_balance;
wrote:
cin.get(); //Discard the \n
account_balance = cin.get();
Instead, you could do this:
cout<<"Please make your selection"<<endl;
cin>>account_balance;
wrote:
account_check = ACCOUNT CHECK;
wrote:
account_deposit = ACCOUNT DEPOSIT;
What is ACCOUNT CHECK, ACCOUNT DEPOSIT, etc., defined as?! What are you trying to accomplish by assigning this value to some variable? This doesn't make any sense.
wrote:
cout << endl << endl << invalid account balance! "<<endl;< blockquote="">
And that should be:
cout << endl << endl << "invalid account balance! "<<endl;
If you need to provide clarifications to my query or provide more information, use the message board at the bottom of this page (click on "New Message").