// BranchDemo - input two numbers. Go down one path of the // program if the first argument is greater than // the second or the other path if not #include #include int main(int nArg, char* pszArgs[]) { // input the first argument... int nArg1; cout << "Enter arg1: "; cin >> nArg1; // ...and the second int nArg2; cout << "Enter arg2: "; cin >> nArg2; // now decide what to do: if (nArg1 > nArg2) { cout << "argument 1 is greater than argument 2\n"; } else { cout << "argument 1 is not greater than argument 2\n"; } return 0; }