// Determines the sign of an integer // mikhail nesterenko // 09/14/99 #include using namespace std; int main() { // inputs the integer int input; cout << "Enter the integer:"; cin >> input; switch (input) { case 0: cout << "The number is zero\n"; break; case 1: cout << "The number is 1\n" break; case 2: cout << "The number is 2\n" break; default: cout << "Don't know the number\n" break; } }