I have to write a block of code that swaps the input !!
Be gentle on me I am new at this!!

int num1, num2;
cout << "Please enter two values:";
cin >> num1, num2

This is where I get lost, I have been told you can use a swap function??!!

cout << "Number " << num1 << "\nnum2: <<num2<<endl;
is what my output has to look like

Any kind soul that has some direction for me....I would greatly appreciate it!!!!