// Input two numbers, exchange so that num1 <= num2 #include using namespace std; int main() { int num1,num2, temp; cout<<"Enter a number:"; cin>>num1; cout<<"Enter another number:"; cin>>num2; if (num1 > num2) // exchange the values { temp = num1; num1 = num2; num2 = temp; } // exchange cout<<"The smaller number is "<