Question: Hello! I have a task in C++ where I have a template that I have to complete with a swap -function so that it can
Hello!
I have a task in C++ where I have a template that I have to complete with a "swap" -function so that it can be called as given, and the main function shouldn't be edited in any way.
So basically the template needs to be completed but anything that exists there at the moment, shouldn't be edited at all.
When the function "swap" is implemented, the main program must act as follows:

Thank you for your help!
Enter an integer: 42 Enter another integer: 0 The integers are 0 and 42
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
