// con1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include using namespace std; int main() { int inputNum=2; if (inputNum == 1) cout << "One"; else if (inputNum == 2) cout << "Two"; else if (inputNum==3) cout << "Three"; else cout << "Too big!"; switch (inputNum) { case 1: cout << "one"; // x++; break; case 2: cout << "two"; break; // if you forget break here, will continue to cout << "Three" case 3: cout << "Three"; break; default: cout << "Too big!"; } return 0; }