#include #include using namespace std; void Swap (int &x, int &y) { int temp = x; x = y; y = temp; return; } void Swap (double &x, double &y) { double temp = x; x = y; y = temp; clog << "Hey This is the double version !!!!!" << endl; return; } int main() { int one; cout << "Enter first number: " << flush; cin >> one; int two; cout << "Enter second number: " << flush; cin >> two; if (one < two) { Swap(one,two); } // Swap(7,two); cout << "Numbers: " << one << " " << two << endl; double three; double four; cout << "Enter a decimal number: " << flush; cin >> three; cout << "Enter a second decimal number " << flush; cin >> four; if (three < four) { Swap(three,four); } cout << "Numbers: " << three << " " << four << endl; Swap(one,four); return 0; }