#include #include using namespace std; void f00(); void f01(); void f02(); void f10(); void f11(); void f12(); int main() { int x; //uninitialzied variable cin >> x; int y; //uninitialzied variable cin >> y; if (y == 0) { if (x == 0) { f00(); } else if (x == 1) { f01(); } else if (x == 2) { f02(); } else { cerr << "x value " << x << " must be in the range 0 to 2 inclusive\n"; return EXIT_FAILURE; } } else if (y == 1) { if (x == 0) { f10(); } else if (x == 1) { f11(); } else if (x == 2) { f12(); } else { cerr << "x value " << x << " must be in the range 0 to 2 inclusive\n"; return EXIT_FAILURE; } } else { cerr << "y value " << y << " must be in the range 0 to 1 inclusive\n"; return EXIT_FAILURE; } return EXIT_SUCCESS; }