Daniel Duffy C++ author, trainer Joined 10/4/07 Messages 10,335 Points 648 11/24/15 #21 sssagar said: #include<iostream> using namespace std; int main() { cin>>a>>b; a = b + a - (b = a); cout<<a<<" "<<b; } Click to expand... Nobody writes or should write code like this :D
sssagar said: #include<iostream> using namespace std; int main() { cin>>a>>b; a = b + a - (b = a); cout<<a<<" "<<b; } Click to expand... Nobody writes or should write code like this :D