:::: CODE ::::
- #include<iostream>
- using namespace std;
- void main(){
- int num1,num2;
- cout<<"Insert Number#1 : ";cin>>num1;
- cout<<"Insert Number#2 : ";cin>>num2;
- cout<<endl<<"Before"<<endl<<"Number#1 = "<<num1;
- cout<<endl<<"Number#2 = "<<num2;
- num1=num1^num2;
- num2=num2^num1;
- num1=num1^num2;
- cout<<endl;
- cout<<endl<<"After"<<endl<<"Number#1 = "<<num1;
- cout<<endl<<"Number#2 = "<<num2<<endl<<endl;
- }