#include <iostream>
using namespace std;
int main()
{
char exit;
cout << "Exit? Y / N " << endl;
cin >> exit;
if ( exit == 'Y' || exit == 'y' )
{ }
if ( exit == 'N' || exit == 'n' )
system("PAUSE>nul");
else
{ }
}
I solved through trial and error, heres the code if you ever want to use it, thanks :)
I guess you could change
else
{ }
To
else
cout << "Invalid Selection!" << endl;
Hope this helps.