#include #ifdef WIN32 #include #endif using namespace std; int main() { int a; int b; cout << "Enter a number: "; cin >> a; if (a == 1) { cout << "Enter a second number: "; cin >> b; if (b == 1) { cout << "You selected 1,1 " << endl; } else if (b = 2 ) { cout << "You selected 1,2" << endl; } else { cout << "I have no idea what you pressed!" << endl; } } system("PAUSE"); return 0; }