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 the code itself (with correct punctuation I.e parenthese, semi colon, backslashes etc) not the final answer as pictured below. Must be in C++ format and able to be run in Microsoft Visual Studio.  Microsoft word, notepad or a snippet of the code are all okay with me, I don’t mind retyping it. Please also use the variables given below (Oldpay, 1000, Newpay 2000).

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now
"If this is not the paper you were searching for, you can order your 100% plagiarism free, professional written paper now!"

"Do you have an upcoming essay or assignment due?

Get any topic done in as little as 6 hours

If yes Order Similar Paper

All of our assignments are originally produced, unique, and free of plagiarism.