C++ swapit function program | Computer Science homework help
Write a program and flowchart. You should have a function called “swapIt()” that is passed two integers by address. The function should define a third local variable. Use the third variable as a intermediate variable and swap the values of both integers passed, sothat when control is returned to the calling function, the values are swapped. Here is what the output looks like. Please write […]