Domanda di colloquio di Cognizant

Write a program to swap two numbers, with and without another variable.