Original Post
OK, here is the newbie question of the night:
If I write something like this:
void decide();
int choice;
cout << "Choose ''1'' or ''2''." << endl;
cin >> choice;
if (choice==11)
{
cout << "1";
}
if (choice==2)
{
cout << "2";
}
else if (!=2)
{
void decide();
}
}
How can I keep it from aborting if someone enters a ''3'' or a ''b'' when the program is run?
Thank you.