#include #include #include int main ( void ) { int status; printf ( "Enter either 1 or 2\n" ); status = getch(); /* Sets DOS errorlevel */ exit ( status - '0' ); /* Note: this line is never reached */ return 0; }